Boost logo

Boost-Build :

From: Melville, Ryan (Ryan_Melville_at_[hidden])
Date: 2007-09-19 17:49:02


Hi,

With V1, I used the following command line from my own Makefile to build

boost:

        @bjam -d1 "-sTOOLS=gcc" "-sGCC=$(CC_OPT)" "-sGXX=$(CXX_OPT)"

With V2, I realize I must replace the "-sTOOLS=gcc" with --toolset=gcc
and
have done so.

But, my other -s usage seems to have lost its desired effect. I used to

override the gcc and g++ commands with my own but now I can tell (using
-d2)
that bjam is using "g++" and not my variant.

How can I get this "override the compiler command on the bjam command
line"
behavior back? Did the variable names change?

I've read all about the "using" thing in the config files but I don't
think
that will work for me. I don't know the command until the moment of
bjam
invocation and so can't put them in a config file ahead of time. I
really
would prefer to specify the compiler command on the bjam command line.

I would appreciate any suggestions. Thanks.

 

Ryan Melville

---
Ryan Melville
Sr. Principal Engineer
Email: Ryan_Melville_at_[hidden]
Office: 952 983 2603
Fax: 952 983 3001
Xiotech Corporation
6455 Flying Cloud Drive
Eden Prairie, MN 55344 United States
www.xiotech.com : www.xiotech.com/demo : Toll-Free 866 472 6764


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