Boost logo

Boost-Build :

Subject: [Boost-build] Building sgd library versions
From: Igor Zavoychinskiy (real4x_at_[hidden])
Date: 2012-02-06 15:59:19

Hello there,

Not sure if I'm writing to the correct place. Please feel free to correct
me and point the right one.

Building boost 1.48 on Win7 for MSVC.2008 I discover a strange behavior:
sgd versions are not get built if you request them explicitly. When I
specify the following command:
b2.exe --stagedir=./ --build-dir=/tmp --toolset=msvc-9.0 threading=multi
--link=static --runtime-link=static --with-thread

I expect to get the following libraries:

But in fact I get:

Setting "--runtime-link=shared" results in the exactly the same set of
output libraries which makes me believe this flag is just ignored.

I know the workaround and here is it:
b2.exe --stagedir=./ --build-dir=/tmp --toolset=msvc-9.0 --with-thread

This way I get all the libraries built including the sgd versions. Though,
I'd say this workaround is kind of expensive. Especially for continues
build systems.

- Igor

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