]> granicus.if.org Git - python/commitdiff
Document --with-cxx.
authorMartin v. Löwis <martin@v.loewis.de>
Wed, 13 Dec 2000 14:14:32 +0000 (14:14 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Wed, 13 Dec 2000 14:14:32 +0000 (14:14 +0000)
README

diff --git a/README b/README
index af761738e7a6105e1e2ceae82a6d2a191e0f3706..5bde2b8edf3b963b405170459424916a0192a99a 100644 (file)
--- 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.