I\'m trying to install PIL on an Intel Mac OS X Leopard machine. Unfortunately, \"setup.py build\" thinks it should be compiling for ppc.
gcc -arch ppc -arch i3
The easiest solution (for a single or a few C files) is to copy the compiler line, edit it, and invoke it manually, then run setup.py again - it should notice that this step was already done.
To make setup.py not use these options anymore, you need to change the Makefile in Python's config directory, and remove the options.