Steve Dower added the comment:

So I've grabbed gendef and dlltool from the latest mingw-w64 and will look at 
using those in the future for both 2.7 and 3.5.

According to objdump, I can use these to create file format pe-i386 and 
pe-x86-64 with the same tools. Are these the correct formats for 32-bit and 
64-bit respectively?

My commands are (approximately):

  gendef - python35.dll > mingwlib.def

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

  dlltool --dllname python35.dll --def mingwlib.def --output-lib 
win32\libpython35.a -m i386

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23199>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to