From: Martin v. Löwis Date: Wed, 13 Dec 2000 14:14:32 +0000 (+0000) Subject: Document --with-cxx. X-Git-Tag: v2.1a1~599 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2df6694eff50a90afb44a99adac37310a5d74408;p=python Document --with-cxx. --- diff --git a/README b/README index af761738e7..5bde2b8edf 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=: 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 ; 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.