|
Boost-Build : |
Subject: [Boost-build] Boost.build
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2011-07-16 09:36:34
Having been a bad boy in the past and not followed the instructions (and got into trouble with bjam
version), this time I have tried to do better.
(I'm actually trying to build the latest trunk libraries now that 1.47 is out, so I need 1.48
version)
Getting started says
"
5.3.1 Install Boost.Build
Boost.Build is a text-based system for developing, testing, and installing software. First, you'll
need to build and install it. To do this:
Go to the directory tools\build\v2\.
Run bootstrap.bat
Run b2 install --prefix=PREFIX where PREFIX is the directory where you want Boost.Build to be
installed
Add PREFIX\bin to your PATH environment variable.
"
I've done steps one and two (though I don't know what step two does),
but I don't understand the instructions for "Run b2 install ..."
I've got a shiny new b2.exe (and a bjam.exe that looks the same) in my I:\boost-trunk\tools\build\v2
Where should I chose for PREFIX, and why?
Do I really need to do anything other than add I:\boost-trunk\tools\build\v2 to my path?
Are these sensible? (And/Or useful?)
C:\Users\Paul>set boost
BOOST=i:/boost-trunk
BOOST_BUILD=I:\boost-trunk\tools\build\v2\build
BOOST_BUILD_PATH=i:/boost-trunk/tools/build/v2
BOOST_ROOT=I:\boost-trunk
BOOST_SANDBOX=i:\boost-sandbox
BOOST_TRUNK=i:\boost-trunk
C:\Users\Paul>
Can anyone enlighten me further?
Thanks
Paul
PS I don't feel I've been told about b2 versus bjam?
PPS As elsewhere in manuals, examples of typical input, and of typical output always help?
--- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow_at_[hidden]
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