|
Boost : |
From: Maciej Sobczak (maciej_at_[hidden])
Date: 2003-08-20 13:41:20
Hi,
This is my first attempt to build Boost 1.30.2 on FreeBSD with gcc 3.2
installed.
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
or
$ 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
directory.
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"
"-sGCC=gcc32"
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