I have been trying to compile my SWIG-based Python extension using
MinGW-w64, the MinGW compiler that targets 64-bit Windows. I have a
example that works fine on Linux but fails with a segfaul on Windows
during Python shutdown.
Has anyone got any suggestions to offer in relation to MinGW-w64? Anyone
at all succeeding in building a working extension with that compiler?
Full details of what I've done, including the test code tarball, are
PS the only possible issue I can think of so far is that I haven't
linked to msvcr90.dll correctly. Otherwise, I'm stumped.
It looks as though the problem here is a bug in one of the Python 2.7
After applying the patch attached to that bug report, my 'swigtest'
example works perfectly. It's not to say that other MinGW-w64 issues
don't remain, but so far it's looking good.
On Sat, Jan 28, 2012, at 09:35 AM, John Pye wrote:
> Hi all
> I have been trying to compile my SWIG-based Python extension using
> MinGW-w64, the MinGW compiler that targets 64-bit Windows. I have a
> example that works fine on Linux but fails with a segfaul on Windows
> during Python shutdown.
Get latest updates about Open Source Projects, Conferences and News.