Boost logo

Boost-Build :

Subject: Re: [Boost-build] building the final library name...
From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2010-01-20 04:11:29


Thomas Lehmann wrote:
> Very sorry,
>
> Unfortunately it is still not working. Here my actual script
> I have changed the "decorate-target-name" to the one as shown last
> mail from you. (bjam --version -> Boost.Build V2 (Milestone 12), Boost.Jam
> 03.1.17)
>
> I'm calling it this way:
>
> bjam -a address-model=32 target-os=windows --toolset=msvc
>
> It seems that the tag mechanism does not have ANY effect.
> By the way: On a linux machine with gcc-4.1.2 and bjam 3.1.16
> I have the same problem with exactly the same project. Bjam does
> not use the tag issue.
>
> bjam -a address-model=32 target-os=linux --toolset=gcc

You just need to use "toolset=gcc" (no double dashes), or even using just
"gcc" will work on the command-line. Won't make any difference to the
results though.

>
> It does not make any difference whether I have the tag on the
> target, on the project or both.
>

[snip]

I just used the code verbatim from your post (with a dummy main.cxx).
Result:

-------------------
>set HOSTNAME=FOO
>bjam toolset=msvc address-model=32
...found 18 targets...
...updating 12 targets...
common.mkdir bin\FOO
common.mkdir bin\FOO\helloWorld
common.mkdir bin\FOO\helloWorld\msvc-9.0
common.mkdir bin\FOO\helloWorld\msvc-9.0\debug
common.mkdir bin\FOO\helloWorld\msvc-9.0\debug\address-model-32
common.mkdir
bin\FOO\helloWorld\msvc-9.0\debug\address-model-32\threading-multi
compile-c-c++
bin\FOO\helloWorld\msvc-9.0\debug\address-model-32\threading-multi\main-vc90-32.obj
main.cxx
msvc.link
bin\FOO\helloWorld\msvc-9.0\debug\address-model-32\threading-multi\helloWorld-vc90-32.exe
msvc.manifest
bin\FOO\helloWorld\msvc-9.0\debug\address-model-32\threading-multi\helloWorld-vc90-32.exe
common.mkdir ..\Binaries\FOO
common.copy ..\Binaries\FOO\helloWorld-vc90-32.exe
bin\FOO\helloWorld\msvc-9.0\debug\address-model-32\threading-multi\helloWorld-vc90-32.exe
        1 file(s) copied.
common.copy ..\Binaries\FOO\helloWorld-vc90-32.pdb
bin\FOO\helloWorld\msvc-9.0\debug\address-model-32\threading-multi\helloWorld-vc90-32.pdb
        1 file(s) copied.
...updated 12 targets...
---------------------

I'm using Boost.Jam/Boost.Build from SVN (trunk version). Try updating, even
though it seems unlikely that this is the problem - tagging has been
available for a long time.

If that doesn't work I guess I'm out of suggestions. Sorry.

HTH / Johan


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk