Boost logo

Boost Users :

Subject: Re: [Boost-users] Problems building boost 1.36
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-09-04 20:30:08


AMDG

Steve Gilbert wrote:
> I'm a systems administrator trying to build boost 1.36 for some of our
> engineers here who have been using version 1.35 for a while. The new
> version builds just fine (gcc 4.2.2 on RHEL3) without so much as an
> error. However, after the install we have far fewer libraries installed
> than we did with 1.35. The lib directory of the new version only
> contains 108 files as opposed to 423 in the previous version.
> Specifically, only the multi-threaded libs seems to get built with the
> new version...there are no single-threaded libraries at all. I can't
> find any mention of how to build these libraries in any of the
> documentation.
>
> Can anyone tell me if this is by design in this new version, or if I
> need to do anything special in order to get these to build? When
> building, we're not doing anything different than we did when building
> the previous version.
>

To build everything use
bjam --build-type=complete ...

To build specific libraries use combinations of the following:
debug release link=static,shared runtime-link=static,shared
threading=single,multi

For example

  bjam release link=static,shared threading=single ...

builds two libraries,
* single threaded release static lib
* single threaded release dynamic lib

In Christ,
Steven Watanabe


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