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
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.