diff --git a/doc/v2/faq.html b/doc/v2/faq.html index 3eac3221..fd2f6712 100644 --- a/doc/v2/faq.html +++ b/doc/v2/faq.html @@ -471,22 +471,30 @@ bjam -sTOOLS=gcc -sPYTHON_LAUNCH=gdb test

Does Boost.Python work with Mac OS X?

-
-

The short answer: as of January 2003, unfortunately not.

- -

The longer answer: using Mac OS 10.2.3 with the December Developer's - Kit, Python 2.3a1, and bjam's darwin-tools.jam, Boost.Python compiles - fine, including the examples. However, there are problems at runtime - (see http://mail.python.org/pipermail/c++-sig/2003-January/003267.html). - Solutions are currently unknown.

- -

It is known that under certain circumstances objects are - double-destructed. See http://mail.python.org/pipermail/c++-sig/2003-January/003278.html - for details. It is not clear however if this problem is related to the - Boost.Python runtime issues.

-
+ It is known to work under 10.2.8 and 10.3 using + Apple's gcc 3.3 compiler: +
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1493)
+ Under 10.2.8 get the August 2003 gcc update (free at + http://connect.apple.com/). + Under 10.3 get the Xcode Tools v1.0 (also free). +

+ Python 2.3 is required. The Python that ships with 10.3 is + fine. Under 10.2.8 use these commands to install Python + as a framework: +

./configure --enable-framework
+make
+make frameworkinstall
+ The last command requires root privileges because the target + directory is + /Library/Frameworks/Python.framework/Versions/2.3. + However, the installation does not interfere with the Python + version that ships with 10.2.8. +

+ It is also crucial to increase the stacksize before + starting compilations, e.g.: +

limit stacksize 8192k
+ If the stacksize is too small the build might crash with + internal compiler errors.

How can I find the existing PyObject that holds a C++