Boost logo

Boost-Build :

Subject: [Boost-build] Include / library configuration in site-config.jam
From: Christian Auby (christian_at_[hidden])
Date: 2010-01-06 06:54:12

I have two compilers defined, gcc and gcc-arm, for x86 and arm respectively.

I want to have separate include and library folders depending on which
compiler I am using, so I have this in my site-config.jam:

    : requirements
However, compiling hello world with "bjam toolset=gcc-arm -d+2" gives me
bjam toolset=gcc-arm -d+2 -a
gcc.compile.c++ bin/gcc-arm/debug/hello.o
    "arm-none-linux-gnueabi-g++"  -ftemplate-depth-128 -O0 -fno-inline
-Wall -g -march=armv4t -fPIC    -I"/usr/local/boost" -c -o
"bin/gcc-arm/debug/hello.o" "hello.cpp" bin/gcc-arm/debug/hello
    "arm-none-linux-gnueabi-g++" -L"/usr/local/boost/stage_x86/lib"   -o
"bin/gcc-arm/debug/hello" -Wl,--start-group "bin/gcc-arm/debug/hello.o"
 -Wl,-Bstatic  -Wl,-Bdynamic  -Wl,--end-group -g
"<toolset>gcc:" seems to also match "gcc-arm", and "<toolset>gcc-arm:"
matches nothing.
I guess this might be me using the conditionals wrong but I'm not sure.

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