summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2000-12-13 14:14:32 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2000-12-13 14:14:32 (GMT)
commit2df6694eff50a90afb44a99adac37310a5d74408 (patch)
treed541bcf1f932ce1390e6640a45379695939ba8dc /README
parenta3b5a5f2db5bc0404a4b3f7e7afd8a6cb8919e5d (diff)
downloadcpython-2df6694eff50a90afb44a99adac37310a5d74408.zip
cpython-2df6694eff50a90afb44a99adac37310a5d74408.tar.gz
cpython-2df6694eff50a90afb44a99adac37310a5d74408.tar.bz2
Document --with-cxx.
Diffstat (limited to 'README')
-rw-r--r--README9
1 files changed, 9 insertions, 0 deletions
diff --git a/README b/README
index af76173..5bde2b8 100644
--- a/README
+++ b/README
@@ -666,6 +666,15 @@ Modules/getpath.o.
--with-libs='libs': Add 'libs' to the LIBS that the python interpreter
is linked against.
+--with-cxx=<compiler>: Some C++ compilers require that main() is
+ compiled with the C++ if there is any C++ code in the application.
+ Specifically, g++ on a.out systems may require that to support
+ construction of global objects. With this option, the main() function
+ of Python will be compiled with <compiler>; use that only if you
+ plan to use C++ extension modules, and if your compiler requires
+ compilation of main() as a C++ program.
+
+
--with-pydebug: Enable additional debugging code to help track down
memory management problems. This allows printing a list of all
live objects when the interpreter terminates.