Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-08-29 01:10:32

Victor A. Wagner, Jr. wrote:

> > > on a Windows XP system.
> > > and then compile several of our current projects against the new
> > > results. if this does NOT build a new Boost.Build and Boost.Jam then
> > > maybe we should rethink (or at least restate) what "building boost"
> > > means.
> >
> >The above is fine for Boost, but CVS HEAD of Boost.Build V2 requires CVS
> > HEAD of Boost.Jam. So, you should run
> > boost_root/tools/build/jam_src/build.bat and use the binary that is
> > created.
> Ok, just did that, added a "copy to a directory in my path" to the end of
> the .bat file (hmmm, probably not a GOOD thing, since I now won't get
> updates to the .bat file).....

You mean, build.bat file? I think you'll still get the updates to that file.
What makes you think otherwise?

<sigh> then went to my boost root and typed
> bjam --v2 >>bjamv2.log
> I get warnings about flex and bison being "not found". I guess I'll have
> to go get them from someplace.
> Something I don't understand here.... if I just build boost using the
> normal bjam "-sTOOLS=VC7.1" it works, the v2 seems to want some new tools
> that I should get.

That's BGL which makes the difference. It has a library, but in v1 it was
either unbuildable, or with some quirks, or something else. In v2 its build
from bison and flex sources. Need to figure out how to handle the situation
when bison/flex are not present. To workaround this, you might comment out

build-project libs/graph/build ;

like in top-level Jamfile.v2.

> Thanks for the assistance. BTW, is this building a different collection of
> things that the v1 build? I ran it on the same sources, and it tried to
> build several (many?) things.

I'd expect that v1 should build more libraries. Each library in v1 declares
its own set of debug/release multithread/singlethread dll/lib combinations,
which all are built. In v2, only one variant is built. I hope that in future,
a universal set of build variant will be argeed upon, and that set will be
specified in top-level Jamfile.

- Volodya


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