opensubscriber
   Find in this group all groups
 
Unknown more information…

d : darwin-kernel@lists.apple.com 12 January 2006 • 12:21AM -0500

Re: Universal kext?
by Arno S Hautala

REPLY TO AUTHOR
 
REPLY TO GROUP




On Wednesday, January 11, 2006, at 10:55AM, Andrew Gallatin <gallatin@cs.d...> 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....
--                                                 --
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (Darwin-kernel@list...)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-kernel/subscriber%40opensubscriber.com

This email sent to subscriber@open...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.