[issue11722] mingw64 does not link when building extensions

Jason Morgan report at bugs.python.org
Thu Mar 31 10:34:58 CEST 2011


Jason Morgan <jasonm at picochip.com> added the comment:

OK,  I've understood this a bit more.

The compiler does not cause pyconfig.h to define SIZEOF_SIZE_T and SIZEOF_INT, rather it is the definition of MS_WIN64 at compile time (which was not being defined)

Defining MS_WIN64 fixes the problem, and causes another unrelated one....

I would guess that I would have to change the patch in Issue11723 to define MS_WIN64, how do I then use the same compiler for 32BIT?  What is the correct way to pass such flags to the compiler class?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11722>
_______________________________________


More information about the Python-bugs-list mailing list