Boost logo

Boost-Build :

From: Francesco Gabbanini (f.gabbanini_at_[hidden])
Date: 2005-12-28 03:46:46

Thank you very much Volodya: now I have my -gd- libraries ready!

I don't have a deep knowledge of  the boost-build system, but I must admit that the differences in feature names between V1 and V2 is a bit confusing.

I am now having a problem with static libraries: it seems I can obtain the static library version of boost-signals using the features "runtime-link=static" and "link=static" (I guess this from the file size), but the targets I get are not prefixed with "lib" (libboost_signals-(...).lib), as they use to be with bjam V1.

So I would like to ask you: is this the correct way to generate static library targets with bjam V2?

Thank you in advance,

Vladimir Prus wrote:
On Saturday 24 December 2005 17:47, Francesco Gabbanini wrote:

Hi Francesco,

I am trying to compile the boost signals library and to obtain
boost_signals-vc80-mt-gd-1_34.lib and  boost_signals-vc80-mt-gd-1_34.dll.

I have tried using bjam v2 with several different combinations of
runtime-link, runtime-debugging, threading properties but I still
haven't been able to obtain libraries with the "-gd-" tag.

Does anyone know how I could solve the problem?

Short answer:
1. Go to tools/build/v2/tools/stage.jam
2. Find rule "rename"
3. Change the line:

        if <runtime-build>debug in $(properties) { runtime-tag += g ; }


        if <runtime-debugging>on in $(properties) { runtime-tag += g ; }

Long answer: for some reason, the name of feature in V2 is not the same as the 
name of feature in V1. The code to add the letters, however, was copy-pasted 
from V1 and was not changed accordingly.

In fact, I think it's best to change the feature name in V2 to match V1, to 
avoid confusion. Thoughts?

- Volodya
Boost-build mailing list


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