[Distutils] Potential patch for sysconfig.py

Anthony Tuininga Anthony@COMPUTRONIX.com
Tue Feb 27 18:43:01 2001


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C0A116.ED5C1040
Content-Type: text/plain;
	charset="iso-8859-1"

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

------_=_NextPart_001_01C0A116.ED5C1040
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>Potential patch for sysconfig.py</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">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?</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; g['CC'] =3D =
&quot;gcc&quot;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; g['OPT'] =3D =
&quot;&quot;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; g['CCSHARED'] =3D =
&quot;&quot;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; g['LDSHARED'] =3D =
&quot;dllwrap&quot;</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Anthony Tuininga</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C0A116.ED5C1040--