[issue39697] Failed to build with --with-cxx-main=g++-9.2.0

Marco Sulla report at bugs.python.org
Sun Mar 1 10:22:16 EST 2020


Marco Sulla <launchpad.net at marco.sulla.e4ward.com> added the comment:

Mmmmhhhh... wait a moment. It seems the behavior is intended:

https://bugs.python.org/issue1324762

I quote:


The patch contains the following changes:
[...]
2) The compiler used to translate python's main() function is 
stored in the configure / Makefile variable MAINCC. By 
default, MAINCC=$(CC). [...] If 
--with-cxx-main=<compiler> is on the configure command 
line, then MAINCC=<compiler>.


Honestly I have _no idea_ why this change was made. Unluckily, the link to the discussion is broken.

----------
nosy: +cludwig

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39697>
_______________________________________


More information about the Python-bugs-list mailing list