[issue6007] distutils tricks you into thinking you can build extensions with mingw

"Martin v. Löwis" <report@bugs.python.org> at psf.upfronthosting.co.za "Martin v. Löwis" <report@bugs.python.org> at psf.upfronthosting.co.za
Wed May 13 20:47:47 CEST 2009


Martin v. Löwis <martin at v.loewis.de> added the comment:

>> I think this is exaggerating the actual state. The compiler is
>> certainly supported.
> 
> Can you elaborate on what "supported" means?  To me, it would mean that
> it could build all the same Python extensions which MSVC can build.

"Supported" means that it will invoke the compiler with the right
command line arguments.

It can't possibly mean what you suggest: gcc simply cannot compile all
code that MSVC can compile - in particular, will will not support many
of the VC extensions to C that a Python extension module may use. COM
interfaces are particularly difficult, making it fail on, e.g. PyWin32.
This was always the case, and never stopped people contributing mingw
support.

----------
title: distutils tricks you into thinking you can build	extensions with mingw -> distutils tricks you into thinking you can	build extensions with mingw

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6007>
_______________________________________


More information about the Python-bugs-list mailing list