distutils gcc unix

Martin v. Löwis loewis at informatik.hu-berlin.de
Mon Jul 29 04:46:08 EDT 2002


Michiel Jan Laurens de Hoon <mdehoon at ims.u-tokyo.ac.jp> writes:

> Sorry ... it seems that distutils ignores the CC environment variable
> (see below). This was done on cygwin. On Unix, the CC variable was
> also ignored using setenv CC gcc, and also with set CC=gcc. Here
> distutils defaulted to the standard cc compiler. I am guessing that it
> took the compiler name from the Makefile in /lib/python2.2/config.
> Any ideas?

You can't take your Windows run as a proof that the variable is
ignored. On Unix, it is honored.

Regards,
Martin




More information about the Python-list mailing list