[issue23199] libpython27.a in amd64 release is 32-bit

Steve Dower report at bugs.python.org
Sun Feb 22 07:58:57 CET 2015


Steve Dower added the comment:

I posted these commands above (modulo version number). If you have MinGW and binutils then it should Just Work, but I'm not very experienced with the range of installations you could have, so you may need to track down the gendef and dlltool tools:

  gendef - python27.dll > mingwlib.def

  dlltool --dllname python27.dll --def mingwlib.def --output-lib amd64\libpython27.a -m i386:x86-64

  dlltool --dllname python27.dll --def mingwlib.def --output-lib win32\libpython27.a -m i386

----------

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


More information about the Python-bugs-list mailing list