Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-03-17 01:58:43


Hi Faheem,

> I tried rebuilding boost on Debian sarge (testing) with gcc 3.0, using
> sources from unstable. Debian allows installation of multiple versions
> of gcc and g++ simultaneously. It has gcc 3.0 and g++ 3.0 installed as
> /usr/bin/gcc-3.0 and /usr/bin/g++-3.0 respecively. So I set

[...]

> I didn't touch anything else, and the default rules file seemed to
> work Ok. However, there was this section that still built with g++,
> which I was a little puzzled by. Can anyone tell me what I was doing
> wrong? Thanks.

> ...updated 157 targets...
> /usr/bin/make -C libs/graph/src libbgl-viz.a
> make[1]: Entering directory
> `/usr/local/src/boost/boost-1.29.0/libs/graph/src'
> g++ -ftemplate-depth-30 -I../../.. -O -c graphviz_graph_lex.cpp
> g++ -ftemplate-depth-30 -I../../.. -O -c graphviz_digraph_lex.cpp

Well, this is part of BGL build, and it does not use Boost.Build. I am not
sure why --- BGL has some Jamfile for Boost.Build V1, but I don't know if it
works. As it is, seems like Debian package maintainer decided to use
Makefile. The changes you made to 'gcc-tool.jam' have no effect on it.

If you really need Boost built with 3.0, including BGL, you'd have to edit the
Makefile, (or use Boost.Build V2 ;-) )

HTH,
Volodya

 


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