Python extensions for Win64 via GCC

前端 未结 3 546
小鲜肉
小鲜肉 2021-01-05 01:42

Has anyone had any luck with compiling 64-bit Python extension modules for Windows using mingw64?

I have successfully compiled the extension in question with VS2008

3条回答
  •  日久生厌
    2021-01-05 02:27

    I find you need to define MS_WIN64 as well as WIN32, also the distutils package does not understand mingw64, see this post, and this one

    Patching distutils to support mingw64 is fairly trivial.

提交回复
热议问题