On Wednesday, January 11, 2006, at 10:55AM, Andrew Gallatin <firstname.lastname@example.org...> wrote:
>I'm very curious about this also. I'm building a driver which
>I'd like to be universal. The problem I'm running into is that
>I need to pass specific flags for x86 to disable use of
>the SIMD registers by gcc (-mno-mmx -mno-sse -mno-sse2).
>Normally, you'd just do 'gcc -arch ppc -arch i386 foo.c',
>but the ppc stage of the compile pukes when I include the
>x86 SIMD exclusion flags.
So you can generate ppc and i386 files seperately? Try combining them with lipo -create
I'm out of my element here, but my perusing of the lipo manual indicates this might work.