[Pythonmac-SIG] building universal binaries
bear42 at code-bear.com
Wed Jan 25 20:02:37 CET 2006
Kevin Ollivier wrote:
> Take out the -syslibroot part (which is only needed for libtool, IIUC)
> and make sure the "-arch ppc -arch i386" bit is in LDFLAGS as well.
> That's how I got wxWidgets building Universal binaries. :-)
I had *just* read your wx-dev post and was going to ask about the
When I try this:
CFLAGS=' -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386'
LDFLAGS=' -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386'
I get this:
checking for C compiler default output filename... configure: error:
C compiler cannot create executables
and if remove the -sysroot part from LDFLAGS, configure runs but then I
get quite a few errors during the final parts of make:
/usr/bin/ld: warning Parser/acceler.o cputype (7, architecture i386)
does not match cputype (18) for specified -arch flag: ppc (file not loaded)
I appreciate any schooling you can offer me :)
More information about the Pythonmac-SIG