[C++-sig] building boost ...
David Abrahams
david.abrahams at rcn.com
Thu Jan 24 14:04:19 CET 2002
----- Original Message -----
From: "Hugo van der Merwe" <s13361562 at bach.sun.ac.za>
To: <c++-sig at python.org>
Sent: Thursday, January 24, 2002 5:07 AM
Subject: [C++-sig] building boost ...
> Can anyone point me to somewhere I can find out how to easily build
> boost against Python 2.1 instead of 1.5, and to make dynamic libraries
> for dynamic linking?
1. Get the latest release of boost from www.boost.org
2. Have Python 2.1 installed on your system in the usual place
(/usr/local/...)
3. Make sure you have a working Boost.Jam executable
(www.boost.org/tools/build) in your path
4. go to the libs/python/build subdirectory of your boost installation, and
invoke:
jam -sBUILD=release -sTOOLS=<toolset> -sPYTHON_VERSION=2.1
Where toolset is the name of one of the supported toolsets (e.g. gcc).
This will build static and dynamic versions of the Boost.Python library.
-Dave
More information about the Cplusplus-sig
mailing list