STINNER Victor <vstin...@python.org> added the comment:

What are you trying to do? Compile Python? Cross-compile Python?

> `setup.py` runs `<CC> -E -v - </dev/null 1>/dev/null` to figure out include 
> and library paths from the compiler in the function `add_gcc_paths`.

Are you talking about the add_cross_compiling_paths() function which is only 
called when _PYTHON_HOST_PLATFORM environment variable is set?

So GCC says "gcc-Version 9.1.0 (GCC) " with your locale, but does it write "gcc 
version 9.1.0 ..." with LC_ALL=C?

----------
nosy: +vstinner

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38472>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to