[issue12641] Remove -mno-cygwin from distutils

Seppo Yli-Olli report at bugs.python.org
Sat May 25 12:20:41 CEST 2013


Seppo Yli-Olli added the comment:

ERRATA
Misunderstood the meaning of ERRATA, please ignore my last post.

Roumen Petrov wrote:
> Where is written that compiler is gcc ? Yes this is current distutils 
> code but please review my set of patches
I kinda like the using --target-help for finding out if -mno-cygwin is supported assuming --target-help is supported by all GCC's. I disliked the version-based approach since back from 2011 since it seems fragile to me. I'm noo sure if it falls into the category of lightweight checks Eric asked for in #msg146499 but at least more lightweight than my proposal of trying to compile a sample program with the compiler.

----------

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


More information about the Python-bugs-list mailing list