[Python-Dev] possible bug in distutils (Mingw32CCompiler)? (original) (raw)
Sturla Molden sturla at molden.no
Thu May 24 14:03:00 CEST 2012
- Previous message: [Python-Dev] Python db2 installation error
- Next message: [Python-Dev] possible bug in distutils (Mingw32CCompiler)?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Mingw32CCompiler in cygwincompiler.py emits the symbol -mno-cygwin.
This is used to make Cygwin's gcc behave as mingw. As of gcc 4.6 it is not recognized by the mingw gcc compiler itself, and causes as crash. It should be removed because it is never needed for mingw (in any version), only for cross-compilation to mingw from other gcc versions.
Instead, those who use CygwinCCompiler or Linux GCC to "cross-compile" to plain Win32 can set -mno-cygwin manually. It also means -mcygwin should be removed from the output of CygwinCCompiler.
I think...
Sturla
- Previous message: [Python-Dev] Python db2 installation error
- Next message: [Python-Dev] possible bug in distutils (Mingw32CCompiler)?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]