How can I build my C extensions with MinGW-w64 in Python?
问题 So I have a few Python C extensions I have previously built for and used in 32 bit Python running in Win7. I have now however switched to 64 bit Python, and I am having issues building the C extension with MinGW-w64. I made the changes to distutils as per this post, but I am getting some weird errors suggesting something is wrong: $ python setup.py build running build running build_ext building 'MyLib' extension c:\MinGW64\bin\x86_64-w64-mingw32-gcc.exe -mdll -O -Wall -Ic:\Python27\lib\site