RE: [Distutils] Potential patch for sysconfig.py
Ok, I looked at the help but missed the line --help-compiler which gave the list of compilers. I have now tried --compiler=mingw32 as suggested and that works quite well. The documentation inside the code doesn't mention anything about compilers except unix and msvc either -- or at least the part I looked at.... :-) In any case, thanks for your help! Anthony -----Original Message----- From: Rene Liebscher [mailto:R.Liebscher@gmx.de] Sent: Wednesday, February 28, 2001 1:08 AM To: Anthony Tuininga Cc: distutils-sig@python.org Subject: Re: [Distutils] Potential patch for sysconfig.py 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
participants (1)
-
Anthony Tuininga