Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

davbeck

macrumors regular
Original poster
May 16, 2008
104
0
Reno, NV
I am trying to compile ODE (http://opende.sourceforge.net/) to be 32/64bit universal binary.

I used:
Code:
env CXXFLAGS="-arch i386 -arch ppc" CFLAGS="-arch i386 -arch ppc" LDFLAGS="-arch i386 -arch ppc" ./configure --enable-release --disable-tests --disable-debug --disable-dependency-tracking
which had no problems but when I go to make I get:
Code:
ld: symbol(s) not found for architecture ppc

When I use:
Code:
env CXXFLAGS="-arch i386 -arch ppc -arch x86_64 ppc64" CFLAGS="-arch i386 -arch ppc -arch x86_64 ppc64" LDFLAGS="-arch i386 -arch ppc -arch x86_64 ppc64" ./configure --enable-release --disable-tests  --disable-dependency-tracking
for the 64 bit part I get:
Code:
configure: error: C++ compiler cannot create executables
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.