Michiel Jan Laurens de Hoon schrieb:
G D wrote:
python setup.py build -cmingw32
I get a hole bunch of undefined interface type errors (the computer's at home so I'm going by memory) similar to __Inf__PyString undefined, and it ends off with a line about WinMain@16 with that setup terminates.
If these are linking errors, the problem might be that you don't have a gcc-style Python library. See http://bonsai.ims.u-tokyo.ac.jp/%7Emdehoon/software/python/cygwin.html for details on how to get one.
This is the same what you can find in the documentation http://python.org/doc/current/inst/tweak-flags.html#SECTION00062200000000000...
But nobody seems to read it. Maybe the compiler class should check for libpython??.a and print a warning with a link to the documentation.