opensubscriber
   Find in this group all groups
 
Unknown more information…

d : darwin-kernel@lists.apple.com 11 January 2006 • 11:54PM -0500

Re: Universal kext?
by Andrew Gallatin

REPLY TO AUTHOR
 
REPLY TO GROUP





Russ Seehafer writes:
> I guess Im way behind on this, but what's the low-down on developing  
> universal kexts, specifically nkes. I can't find any documentation on  
> it specifically. I have read through most of the documentation for  
> regular apps. Is there anything to keep in mind when working in the  
> kernel?
>

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.

Drew
_______________________________________________
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.