Re: libmx.A.dylib missing?
Re: libmx.A.dylib missing?
- Subject: Re: libmx.A.dylib missing?
- From: Bill Cheeseman <email@hidden>
- Date: Mon, 25 Apr 2005 06:48:51 -0400
on 2005-04-25 3:53 AM, Jerry at email@hidden wrote:
> From experience, I'd say you're probably using one of the float
> versions of the math functions such as sinf, cosf or sqrtf. I never
> found any workround for this and nobody at WWDC last year could either,
> so I ended up just defining them myself to call the double versions -
> it seems that that's what the libmx versions do anyway, unless anyone
> knows better :-)
After a little googling, I would say the float versions in libmx.A.dylib are
optimized for speed compared to the standard double versions.
But I'm not calling any of them, at least not explicitly. (At least, I don't
think so. Are all of the libmix functions listed somewhere? I'm a little out
of my depth here.)
I do have a few variables declared as float, but they all call Cocoa
functions such as NSHeight that work just fine in Jaguar. I call the ceil
and floor functions, but not ceilf or floorf -- I've defined the variables
for them as float; maybe I should change that to double, but that won't
change the function call, will it?
Is there a compiler or linker flag for this?
My guess is that one of the Cocoa classes I've started using since my last
product version requires the libmx library but its documentation fails to
call out the incompatibility with Jaguar.
If I can't find a way around this today, my next version is going to have to
abandon Jaguar support. I hadn't planned to do that just yet, but I guess
it's no great loss.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden