[python-win32] Building extensions with non-MSVC compilers
Paul Moore
p.f.moore at gmail.com
Sun Oct 31 18:29:42 CET 2004
On Sun, 31 Oct 2004 17:18:42 +0100, Mauro Cicognini <mcicogni at libero.it> wrote:
> Hi everybody,
> I've tried to Google for all past references to the subject, but I could
> not find any conclusive answer to my real question, which is "Will a
> mingw-built extension work with a standard MSVC-built Python interpreter?"
Yes. If you use distutils, --compiler=mingw is supported. See the
"Installing Python Modules" manual, section 6.2.2 for the details, but
basically, mingw-built extensions are set up to use the same CRT as
the standard Python binary, so all should be fine.
Paul.
More information about the Python-win32
mailing list