Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IOKit: fabs() prototype missing, yet it complies...



Actually no.

(pause to cringe before answering embarrassing questions he hoped never to be asked).

The -msoft-float flag requires the gcc float emulation library to be compiled 'statically'. Apple does not currently do this thus you will end up with lots of undefined symbols. The other side effect of this flag is that compiler wont emit floating point commands with it's inline structure copies.

Godfrey

At 13:12 -0500 02-3-14, Sean McBride wrote:
>In any case the question is moot. We compile all kext's with
-msoft-float

Does this mean software (ie integer math) emulation of fp stuff? ie, if I do:

double x = y + 5.6;

Will it work? (ie will I get the correct result, even if its totally slow)?
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: IOKit: fabs() prototype missing, yet it complies... (From: Godfrey van der Linden <email@hidden>)
 >Re: IOKit: fabs() prototype missing, yet it complies... (From: Sean McBride <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.