[Distutils] Potential patch for sysconfig.py

Rene Liebscher R.Liebscher@gmx.de
Wed Feb 28 03:09:01 2001


Anthony Tuininga wrote:
> 
>    Part 1.1Type: Plain Text (text/plain)
> I added these lines to _int_nt() to support creating extensions under NT
> with gcc (Mingw32). I don't know a whole lot about distutils as of yet but
> these lines worked for me. Any comments?
> 
>     g['CC'] = "gcc"
>     g['OPT'] = ""
>     g['CCSHARED'] = ""
>     g['LDSHARED'] = "dllwrap"
> 
> Anthony Tuininga
> 

Did you ever try "python setup.py build --compiler=mingw32"
with your package?

Mingw32 and cygwin are supported for more than a half year now.

(Ok, we should have updated the documentation, but to use
help with the build command isn't a problem?)  


Kind regards
Rene Liebscher