On 26 May 2015 at 00:34, MRAB <pyt...@mrabarnett.plus.com> wrote: > The 32-bit Python says it's 32-bit and the 64-bit Python says it's 64-bit. > > ---8<--- > > C: > > rem Compile for Python 3.5 (64-bit) [works] > cd C:\MinGW64\bin > "C:\MinGW64\bin\gcc.exe" -mdll -m64 -DMS_WIN64 -O2 -Wall -Wsign-compare > -Wconversion -I"C:\Python35\include" -c > "D:\projects\mrab-regex\regex_3\regex\_regex_unicode.c" -o > "D:\projects\mrab-regex\regex_3\Release(3.5)\_regex_unicode.o" > "C:\MinGW64\bin\gcc.exe" -mdll -m64 -DMS_WIN64 -O2 -Wall -Wsign-compare > -Wconversion -I"C:\Python35\include" -c > "D:\projects\mrab-regex\regex_3\regex\_regex.c" -o > "D:\projects\mrab-regex\regex_3\Release(3.5)\_regex.o" > "C:\MinGW64\bin\gcc.exe" -m64 -shared -s > "D:\projects\mrab-regex\regex_3\Release(3.5)\_regex_unicode.o" > "D:\projects\mrab-regex\regex_3\Release(3.5)\_regex.o" -L"C:\Python35\libs" > -lpython35 -o "D:\projects\mrab-regex\regex_3\Release(3.5)\_regex.pyd" > > rem Compile for Python 3.5 (32-bit) [fails] > cd C:\MinGW\bin > "C:\MinGW\bin\gcc.exe" -mdll -m32 -O2 -Wall -Wsign-compare -Wconversion > -I"C:\Python35(32-bit)\include" -c > "D:\projects\mrab-regex\regex_3\regex\_regex_unicode.c" -o > "D:\projects\mrab-regex\regex_3\Release(3.5)(32-bit)\_regex_unicode.o" > "C:\MinGW\bin\gcc.exe" -mdll -m32 -O2 -Wall -Wsign-compare -Wconversion > -I"C:\Python35(32-bit)\include" -c > "D:\projects\mrab-regex\regex_3\regex\_regex.c" -o > "D:\projects\mrab-regex\regex_3\Release(3.5)(32-bit)\_regex.o" > "C:\MinGW\bin\gcc.exe" -m32 -shared -s > "D:\projects\mrab-regex\regex_3\Release(3.5)(32-bit)\_regex_unicode.o" > "D:\projects\mrab-regex\regex_3\Release(3.5)(32-bit)\_regex.o" > -L"C:\Python35(32-bit)\libs" -lpython35 -o > "D:\projects\mrab-regex\regex_3\Release(3.5)(32-bit)\_regex.pyd" > > ---8<---
Do you get the same failure when using distutils to build the extension? Paul PS This discussion should probably be moved to bugs.python.org, as I mentioned... _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com