Boost logo

Boost Users :

From: David P. Riedel (driedel_at_[hidden])
Date: 2007-02-06 11:48:42


Here's what I've since found that seems to work.

1. set up a user-config.jam file in my home directory.
2. add a gcc toolset entry which looks like:

using gcc : : /usr/local/gcc-4.1.1/bin/g++ : <linkflags>"-Wl,-rpath -Wl,/usr/local/gcc-4.1.1/lib" ;

3. add a python entry which looks like:

using python : 2.4 : /usr/local/python-2.4.4_gcc-4.1.1 ;

then, I can issue the following command:

bjam -a --without-wave --without-test --prefix=/usr/local/boost-1.34.0_gcc-4.1.1
--includedir=/usr/local/boost-1.34.0_gcc-4.1.1 --toolset=gcc stage

This seems to work -- it is using the compiler I want it to and the shared libraries are pointing to the compiler's
runtime libraries. The build is still running so I don't know if the code will run but it looks correct so far....

Dave

David P. Riedel wrote:
> Hi
>
> I have checked out the latest boost_1_34 RC from svn and am trying to build it for the first time. For various reasons,
> I have both gcc and Python in 'non-standard' locations on my linux box. For the v1 build system, I used the following
> command to build the libraries
>
> bjam -a --without-wave --without-test --prefix=/usr/local/boost-1.34.0_gcc-4.1.1
> --includedir=/usr/local/boost-1.34.0_gcc-4.1.1 "-sTOOLS=gcc" "-sGCC_ROOT_DIRECTORY=/usr/local/gcc-4.1.1"
> "-sPYTHON_ROOT=/usr/local/python-2.4.4_gcc-4.1.1" "-sPYTHON_VERSION=2.4" stage
>
> This doesn't work with v2 build. The getting started help page still seems to have the v1 related information.
>
> So my question is: what would be the v2 bjam that corresponds to the v1 version above?
>
> Thanks for any help.
>
> Dave Riedel


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net