Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2004-05-05 11:27:19


David P. Riedel wrote:

> however, when is issue this command:
>
> bjam -a "-sTOOLS=gcc" "-sGCC_ROOT_DIRECTORY=/usr/local/gcc_3.4"
>
> i get a message which says:
> ...found 4700 targets...
> ...updating 881 targets...
>
>
> when i issue this command:
>
> bjam -a "-sTOOLS=gcc" "-sGCC_ROOT_DIRECTORY=/usr/local/gcc_3.4"
> "-sBUILD=<linkflags>-Wl,-rppath,/usr/local/gcc_3.4/lib"
>
> i get a message which says:
> ...found 3832 targets...
> ...updating 251 targets...
>
>
> so it appears there must be other options i need to pass to the BUILD.
> is there a way i can concatenate options to BUILD or is there a list of
> the default values so that i can specify the whole list in the command line?

You can add any number of build requests to the BUILD variable
separating them with spaces: "-sBUILD=debug release". If you are
building at the boost root that Jamfile sets the build request to:

"-sBUILD=debug release <runtime-link>static/dynamic
<threading>single/multi"

And if you specify the "--with-pydebug" it also adds "debug-python".

There is an alternate way to add compiler flags that might be more
useful for you here. The gcc toolset supports setting the compiler
command to a command plus any number of options. For example you could do:

bjam -a "-sTOOLS=gcc" "-sGCC_ROOT_DIRECTORY=/usr/local/gcc_3.4"
"-sGXX=g++ -Wl,-rppath,/usr/local/gcc_3.4/lib"

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq
 

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