Boost logo

Boost-Build :

Subject: [Boost-build] clarification of install, prefix and stage when building boost
From: Bioxydyn Dev (bioxydyn.dev_at_[hidden])
Date: 2013-08-22 09:53:09


Hi,

I have successfully built boost with the following options:

./b2 install --prefix=~/development/cots/boost stage <various other options>

I notice that a directory ~/development/cots/boost is created in
$BOOST_ROOT which
contains lib and include sub directories. The contents of the include
directory appears to be the same as what is in $BOOST_ROOT/boost and the
lib contains the build output.

A directory $BOOST_ROOT/stage/lib is also created which contains the build
output.

I expected the latter but not the former.

What is the --prefix option for? Should it be used when the stage option is
used? And why does it appear to result in the include files being
duplicated in another directory?

regards

Joe



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