[issue12242] distutils2 environment marker for current compiler
Eli Collins
report at bugs.python.org
Thu Sep 29 22:32:23 CEST 2011
Eli Collins <elic at assurancetechnologies.com> added the comment:
> What is result is i use GNU compiler by example with name arm-linux-androideabi-gcc ?
If the executable is named "arm-linux-androideabi-gcc", the code would currently call "arm-linux-androideabi-gcc --version". If that resulted in (for example) "arm-linux-androideabi-gcc (Some/Platform 4.5.2-1) 4.5.2", then the version string returned for regexp matching would be "arm-linux-androideabi-gcc 4.5.2".
While the patch was getting close to finished, if it seems like a useful idea to people, I could add a "--get-compiler-info" command to build_ext which would return the name of the active compiler, and the output of get_compiler_version().
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12242>
_______________________________________
More information about the Python-bugs-list
mailing list