[Python-Dev] Unable to build regex module against Python 3.5 32-bit

Paul Moore p.f.moore at gmail.com
Wed May 27 08:39:58 CEST 2015

On 27 May 2015 at 03:02, MRAB <python at mrabarnett.plus.com> wrote:
> When I tried:
>     C:\MinGW64\bin\dlltool.exe
> or:
>     C:\MinGW64\x86_64-w64-mingw32\bin\dlltool.exe
> for the 32-bit builds, they wouldn't link.

Was that with "-m i386"? If so, then I suspect that's the issue.
Steve, did you use 64-bit mingw to build the .a files? Assuming so, I
guess we either stop shipping libpythonXY.a, or the instructions for
building the Windows release need to clearly state that you want a
32-bit mingw on PATH for the 32-bit builds, and a 64-bit mingw on PATH
for the 64-bit builds (which sounds messy and error-prone :-()

I'd be inclined to call this a mingw bug. However, I don't have the
first clue where to report it.


More information about the Python-Dev mailing list