Boost logo

Boost-Build :

From: mad37prof (psmith_at_[hidden])
Date: 2004-02-01 13:54:48


[ Sorry if you see this twice: I originally tried to send it without
subscribing but never saw it show up ]

I'm trying to build Boost 1.30.2 on a Linux system.

I need to specify a different compiler name than just "gcc" and "g++"
(I'm using TOOLS=gcc). According to the gcc toolset webpage, I should
be able to set GCC and GXX on the jam line. But, it doesn't work:

$ cd /home/psmith/boost-1.30.2/tools/build/jam_src
$ ./build.sh gcc

$ cd /home/psmith/boost-1.30.2
$ ./tools/build/jam_src/bin.linuxx86/bjam -d2 -j2 \
-sBOOST_ROOT=/home/psmith/boost-1.30.2 \
-sTOOLS=gcc \
-sGCC=i686-unknown-linux-gnu-3.2.3-gcc \
-sGXX=i686-unknown-linux-gnu-3.2.3-g++

Shows me:

...
gcc-C++-action
libs/regex/build/bin/libboost_regex.a/gcc/debug/runtime-link-dy
namic/c_regex_traits.o

g++ -c -Wall -ftemplate-depth-100 -DBOOST_REGEX_NO_LIB=1
-DBOOST_REGEX_STATIC_LINK=1 -g -O0 -fno-inline -I"libs/regex/build"
-I"/tmp/portage/boost-1.30.2/work/boost-1.30.2" -o
"libs/regex/build/bin/libboost_regex.a/gcc/debug/runtime-link-dynamic/c_regex_traits.o"

"libs/regex/build/../src/c_regex_traits.cpp"
...

It is continuing to use the old compiler names.

What am I doing wrong? :-(

Thanks!

 


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