Boost logo

Boost :

From: Maciej Sobczak (maciej_at_[hidden])
Date: 2003-08-20 13:41:20


This is my first attempt to build Boost 1.30.2 on FreeBSD with gcc 3.2

I have the compiler installed as gcc32 and g++32. These names are found
as commands, so that I can simply type

$ g++32


$ g++

and have the same source file compiled either by gcc 3.2 or by gcc 2.95
(the default installation on my system). This is quite convenient for me.

Now, coming to Boost.

I would like to use gcc 3.2 to build Boost. I was able to build jam with
this compiler version by hacking in the tools/build/jam_src
My problem is how to subsequently tell bjam to use g++32 instead of g++
to build libraries.

The command:

$ tools/build/jam_src/bin.freebsd/bjam "-sTOOLS=gcc"

builds Boost using the default gcc and g++ compilers. Following the
docs, I tried to do:

$ tools/build/jam_src/bin.freebsd/bjam "-sTOOLS=gcc" "-sGXX=g++32"

but I can see that still the default versions are used.

I guess I'm doing something the wrong way.

Any help will be greatly appreciated.

Maciej Sobczak

Boost list run by bdawes at, gregod at, cpdaniel at, john at