[Pythonmac-SIG] Problems compiling extensions under Jaguar

Tim Lahey tjlahey@cgl.uwaterloo.ca
Sun, 15 Dec 2002 18:50:59 -0500


Hi,

I'm using the python 2.2 that comes with Jaguar and I've notices that
it is trying to build both i386 and ppc, when I'm only interested in
building for OS X. How do I tell python to only build ppc ?
I get a number of linking errors since i386 isn't found.

gcc -arch i386 -arch ppc -bundle -flat_namespace -undefined suppress 
build/temp.darwin-6.2-Power Macintosh-2.2/multiarraymodule.o -o 
build/lib.darwin-6.2-Power Macintosh-2.2/multiarray.so

Suggestions ?

Thanks,

Tim Lahey