[ODE] universal binary for OS X?
Aaron Geller
aaronsg at sas.upenn.edu
Wed Jul 5 13:10:16 MST 2006
Hi,
I'm hoping to compile a universal ODE binary for Mac, i.e. add "-arch
ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk" to CFLAGS.
The first problem I encountered was the error: g++: -E, -S, -save-
temps and -M options are not allowed with multiple -arch flags
I deleted the -M flags from the make rule for the first target
(libode_a-obstack.o), and got the following:
powerpc-apple-darwin8-g++-4.0.1: libode_a-obstack.o: No such file or
directory
powerpc-apple-darwin8-g++-4.0.1: .deps/libode_a-obstack.Tpo: No such
file or directory
i686-apple-darwin8-g++-4.0.1: libode_a-obstack.o: No such file or
directory
i686-apple-darwin8-g++-4.0.1: .deps/libode_a-obstack.Tpo: No such
file or directory
... despite the fact that libode_a-obstack.o itself did build.
Before pressing on on my own I figured I'd ask the list: has anyone
done this successfully yet? How important are the -M flags?
Is there a right way to do this?
Thanks!!
Aaron
More information about the ODE
mailing list