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 hello.cc
$ g++ hello.cc
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 build.sh in the tools/build/jam_src
My problem is how to subsequently tell bjam to use g++32 instead of g++
to build libraries.
$ 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 http://www.maciejsobczak.com/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk