On 2015-05-26 18:27, Paul Moore wrote:
> On 26 May 2015 at 18:23, MRAB <pyt...@mrabarnett.plus.com> wrote:
> > I made libpython35.a like I did for the others and it's all working now. All
> > the tests pass. :-)
>
> Cool. How did you make libpython35.a? Sounds like there is some
> difference in the process being used for the shipped version.
>
For making the .def files, I used:

    C:\MinGW64\x86_64-w64-mingw32\bin\gendef.exe

MinGW didn't contain gendef.exe!

For making the .a files, I used:

    C:\MinGW64\bin\dlltool.exe

for the 64-bit builds and:

    C:\MinGW\bin\dlltool.exe

for the 32-bit builds.

They all worked.

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.

_______________________________________________
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

Reply via email to