Boost logo

Boost-Build :

From: Craig Rodrigues (rodrigc_at_[hidden])
Date: 2005-08-04 15:05:45


I am trying an experiment. I have an empty user-config.jam,
and empty site-config.jam, and do not have those files in my home

I have a Jamroot which contains:

import toolset : using ;

using gcc : default ;
using gcc : 4.0 : g++-4.0 ;

lib a : a.cpp ;

If I try to build library a,
it uses g++ to compile it instead of g++-4.0.

Why is this? Shouldn't specifying "using gcc " the second time
"override" the first setting?

I'm not 100% familiar with how this toolset initialization works.

Basically, what I want to do is to put:
using gcc : default ;

in my site-config.jam, so that by default, bjam will select the system
version of gcc installed.
In one particular Jamfile or Jamroot, I want to specify:

using gcc : 4.0 : g++-4.0 ;

because I only want to use g++-4.0 for one particular library.

I tried to follow the instructions at:

but it didn't work.


Craig Rodrigues 

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