Message363296
I agree with Pablo Galindo Salgado: https://bugs.python.org/issue35912#msg334942
The "quick and dirty" solution is to change MAINCC to CC, for _testembed.c AND python.c (g++ fails with both).
After that, _testembed.c and python.c should be changed so they can be compiled with a c++ compiler, and a system test should be added.
Anyway, I found the original patch:
https://bugs.python.org/file6816/cxx-main.patch
In the original patch, the README contained detailed information. I think these informations could be restored, maybe in ./configure --help
Anyway, I have a question. In README, it's stated:
There are platforms that do not require you to build Python
with a C++ compiler in order to use C++ extension modules.
E.g., x86 Linux with ELF shared binaries and GCC 3.x, 4.x is such
a platform.
All x86 platforms? Also x86-64? And what does it means "Linux with ELF"? It means that Linux has shared libraries or that Python is compiled with --enable-shared? And what it means gcc 3 and 4? It means gcc 3+? |
|
Date |
User |
Action |
Args |
2020-03-03 19:53:11 | Marco Sulla | set | recipients:
+ Marco Sulla, cludwig, vstinner, jkloth, pablogsal, xtreak |
2020-03-03 19:53:11 | Marco Sulla | set | messageid: <1583265191.03.0.541299736378.issue39697@roundup.psfhosted.org> |
2020-03-03 19:53:11 | Marco Sulla | link | issue39697 messages |
2020-03-03 19:53:10 | Marco Sulla | create | |
|