Distutils and MinGW with C++

Martin v. Löwis martin at v.loewis.de
Tue Dec 10 13:41:28 EST 2002


> Any help would be appreciated.

Whether or not g++ is used to link extension modules is a configuration
option determined at the time Python is built; you have to
use --enable-cxx, and your compiler must require linking with g++, else
linking occurs with gcc.

It appears that the MingW Python was built with gcc 2.95.2, and so you
must use the same compiler for extensions, or rebuild Python.

HTH,
Martin




More information about the Python-list mailing list