Boost logo

Boost-Build :

From: Martin Wille (mw8329_at_[hidden])
Date: 2003-06-23 11:49:42


Hi,

the comment at the start of the file tools/build/gcc-tools.jam says:

# GXX
# The name by which g++ is invoked. You can also use this in
# lieu of setting the <cxxflags> property to force options such
# as "-V3.0.4" into the g++ command line: "-sGXX=g++ -V3.0.4".

However, gcc-C++-action starts with

$(.GXX:R=$(GCC_BIN_DIR)) -c -Wall

If bjam is invoked with -sGXX=g++ -V3.0.4" -sGCC_BIN_DIRECTORY=/foo
then GCC_BIN_DIR gets inserted in front of every element of $(GXX).
This results in the command line /foo/g++ /foo/-V3.0.4 -c -Wall ...

Regards,
m

 


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