Boost logo

Boost-Build :

From: Craig Rodrigues (rodrigc_at_[hidden])
Date: 2005-05-19 12:38:55


Here is what I do to get Boost Jam to build and work from CVS
under Unix (Linux, FreeBSD, MacOS X).
It is pretty close to the directions on the web page, but
slightly different.

(1) Check out from CVS:
cvs -d :pserver:anonymous_at_[hidden]:/cvsroot/boost co \
boost/boost-build.jam boost/project-root.jam boost/tools

(2) Build bjam executable:
cd boost/tools/jam_src

(3) Add bjam executable to PATH, do not copy it around:
for bash, export PATH=$PATH:$WHATEVERDIRECTORY/boost/tools/build/jam_src/bin.linuxx86
for tcsh, setenv PATH ${PATH}:${WHATEVERDIRECTORY/boost/tools/build/jam_src/bin.linuxx86

(4) Set the BOOST_BUILD_PATH environment variable to point to the directory
where the boost-build.jam file exists:

for bash, export PATH=$PATH:$WHATEVERDIRECTORY/boost
for tcsh, setenv PATH ${PATH}:${WHATEVERDIRECTORY/boost

I also perform these additional customization steps:

(1) Modify $WHATEVERDIRECTORY/boost-build.jam so that bjam defaults to
v2 mode.

(2) Modify $WHATEVERDIRECTORY/boost/tools/build/v2/site-config.jam
to use gcc by default.

Craig Rodrigues 

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at