Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2df6694

Browse files
committed
Document --with-cxx.
1 parent a3b5a5f commit 2df6694

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

README

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,15 @@ Modules/getpath.o.
666666
--with-libs='libs': Add 'libs' to the LIBS that the python interpreter
667667
is linked against.
668668

669+
--with-cxx=<compiler>: Some C++ compilers require that main() is
670+
compiled with the C++ if there is any C++ code in the application.
671+
Specifically, g++ on a.out systems may require that to support
672+
construction of global objects. With this option, the main() function
673+
of Python will be compiled with <compiler>; use that only if you
674+
plan to use C++ extension modules, and if your compiler requires
675+
compilation of main() as a C++ program.
676+
677+
669678
--with-pydebug: Enable additional debugging code to help track down
670679
memory management problems. This allows printing a list of all
671680
live objects when the interpreter terminates.

0 commit comments

Comments
 (0)