I am trying to compile a package on Mac OSX 10.6.5. The package\'s install script relies on distutils. The problem is that the computer\'s default gcc is version 4.2 (I de
Have you tried setting a custom CC environment variable?
CC=gcc-4.2 python setup.py build