[ODE] universal binary for OS X?
Shamyl Zakariya
shamyl at zakariya.net
Thu Aug 3 06:28:41 MST 2006
Unfortunately, this approach doesn't seem to work for me. Perhaps
I've got something screwy on my system, but when I run file on
libode.dylib, it reports it as a ppc shared library, not universal. I
also tried jonathan klein's approach, but that failed on the
configure stage, probably because his approach leaves out the sdk path.
shamyl at zakariya.net
"Such a theory has to be bizarre and elaborate, as well as being
stupid"
-- Jim Loy, regarding a hollow earth
On Aug 3, 2006, at 8:26 AM, Irrisor wrote:
>
>
> Shamyl Zakariya wrote:
>
>> it sure would be nice if
>> ODE did it out of the box on OS X ( or at least offered it as a
>> configure option )
>
> This line does the trick:
>
> CFLAGS="-arch ppc -arch i386 -isysroot \
> /Developer/SDKs/MacOSX10.4u.sdk" \
> CXXFLAGS="-arch ppc -arch i386 -isysroot \
> /Developer/SDKs/MacOSX10.4u.sdk" ./configure \
> --disable-dependency-tracking
>
> Alternatively you can export those environment variables (CFLAGS and
> CXXFLAGS) before running
> ./configure --disable-dependency-tracking
>
> regards,
> Irrisor
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
More information about the ODE
mailing list