[C++-sig] Boost.Python compiles & links on Darwin
by Nicholas K. Sauter other posts by this author
Feb 27 2003 2:51AM messages near this date
Re: [C++-sig] problem with python::dict[]
|
Re: [C++-sig] Boost.Python compiles & links on Darwin
This should be of interest to people waiting to use Boost.Python on the
Macintosh. I have achieved partial success running Boost.Python modules
on Darwin. The build system is based on the scheme proposed by Rene
Rivera last November, with the Boost.Python library dynamically linked
as a dylib, and the user's module as a bundle. Python itself must be
installed as a Darwin Framework. It was also necessary to download gcc
3.2.2 from FSF rather than use the pre-installed compiler from Apple.
Details are posted in the "darwin_notes" link presented on my
Multi-platform build page:
http://cci.lbl.gov/boost
As noted, this is only a partial port. For one thing, the gcc 3.2.2
compiler doesn't seem to properly handle any C++ exceptions, so many of
the modules in the Boost.Python test suite will fail. It may be
necessary to wait for a proper gcc 3.3 release to fix this. Also, some
work will be needed on the Boost.Python library itself to fix some
compile-time problems reported in the log files (see build page).
--
Nicholas K. Sauter, Ph.D.
Lawrence Berkeley National Lab
1 Cyclotron Road, Bldg 4R0230
Berkeley, CA 94720-8235
nksauter@[...].gov
Voice: 510-486-5713
Fax: 510-486-5909
Attachments:
nksauter.vcf
Thread:
Nicholas K. Sauter
Nicholas K. Sauter
David Abrahams
David Abrahams
Harri Hakula
|