site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Wednesday, January 11, 2006, at 10:55AM, Andrew Gallatin <gallatin@cs.duke.edu> 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. -- -- arno s hautala /-\ fracai@mac.com -- -- _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com