Re: libmx.A.dylib missing?
Re: libmx.A.dylib missing?
- Subject: Re: libmx.A.dylib missing?
- From: Jerry <email@hidden>
- Date: Mon, 25 Apr 2005 18:36:40 +0100
On 25 Apr 2005, at 11:48, Bill Cheeseman wrote:
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.
I tried single stepping into them and found myself in the double
versions. This was some time ago, and it may have changed.
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.
If you remove libmx from the link you should be able to find out what's
being called and then write your own version of it.
Jerry
_______________________________________________
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