Hello,
I work on the migration of an application compiled under
Code Warrior towards Xcode 2.4 in universal.
For the moment, the powerpc version work correctly,
however I have problems with the intel version.
This is the problem:
I have asm (from a sript) code which calls functions on
objects and sometimes, at the call time instead of the call to the
dyld__stub__name_of_the_function we have a jump into
dyld_stub_binding_helper_interface function (although all the lyrairies are
linked statically
.) and it crash.
It
arrive on some Templates and inlines functions , I modified some
of them to see whether the probleme came from that but there is no change
I also try to solve this problem with these
options: inline function
hidden, generate-positiondependent-code
Example of function:
void
vector:: normalize ()
{
float n =
InvMagnitude (*this);
x*=n; y*=n;
z*=n;
}
When I arrive in normalize my object is good (ie, my
value x, y, z are good) and at the call of InvMagnitude my problem
arrived.
I
have also this problem with are a function a simple for example function int
max (int a, int b) work whereas his homologous float max (float a, float b),
doesnt.
Did somebody already have a solution about this problem?
Or have links on some interesting
documents?
I didnt find anything on developer.apple.com, and not
large-thing in the Web.
Thank you
PS : Im French ,and I hope my history is well understood.
;)