Universal build of cranky open source lib with a configure script
Universal build of cranky open source lib with a configure script
- Subject: Universal build of cranky open source lib with a configure script
- From: Shamyl Zakariya <email@hidden>
- Date: Wed, 24 Jan 2007 15:01:48 -0500
I'm trying to build a ppc lib from my intel mac, so I can lipo it
together with the intel lib. I've read a few docs off ADC which gave
me the general idea to build it twice, once native, the other for
ppc. The instructions given may work in some places, but they don't
seem to be working for me to build a universal library of ODE ( Open
Dynamics Engine )
I've tried the approach from Technote 2137, where I set the CFLAGS
and LDFLAGS to result in a universal build, but that doesn't work --
the compile fails arguing that the cpu types don't add up right.
I've also tried setting up the configure script to crosscompile:
./configure --build=ppc-apple-darwin8.8.2 --enable-release --with-
trimesh=gimpact --prefix=/Users/zakariya/Projects/ODE/buildppc/
This one builds, but when I examine the output library, it's i386,
not PPC. I've tried a number of variations of the parameters, but no
matter what, I get intel binary output.
In the end, I might just try to build this on a PPC, and lipo that
output with the local build, but getting ODE to build on OS X
required some mojo with the X11 headers which I... embarrassingly...
can't recall how I did :p
So local cross compiling is appealing, obviously. Any ideas?
email@hidden
"Such a theory has to be bizarre and elaborate, as well as being
stupid"
-- Jim Loy, regarding a hollow earth
_______________________________________________
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