+
Change your current directory to the Boost root directory and
-invoke bjam as follows:
+invoke
b2 as follows:
-bjam --build-dir=build-directory toolset=toolset-name stage
+b2 --build-dir=build-directory toolset=toolset-name stage
For a complete description of these and other invocation options,
please see the Boost.Build documentation.
For example, your session might look like this:
$ cd ~/boost_1_47_0
-$ bjam --build-dir=/tmp/build-boost toolset=gcc stage
+$ b2 --build-dir=/tmp/build-boost toolset=gcc stage
That will build static and shared non-debug multi-threaded variants of the libraries. To build all variants, pass the additional option, “--build-type=complete”.
@@ -447,16 +447,16 @@ $ bjam
--build-dir=/tmp/build-boost
toolset=gc
Building the special stage target places Boost
library binaries in the stage/lib/ subdirectory of
the Boost tree. To use a different directory pass the
---stagedir=directory option to bjam.
+
--stagedir=directory option to
b2.
Note
-
bjam is case-sensitive; it is important that all the
+
b2 is case-sensitive; it is important that all the
parts shown in bold type above be entirely lower-case.
For a description of other options you can pass when invoking
-bjam, type:
+
b2, type:
-bjam --help
+b2 --help
In particular, to limit the amount of time spent building, you may
be interested in:
diff --git a/getting_started/unix-variants.rst b/getting_started/unix-variants.rst
index e803788..40f6f22 100644
--- a/getting_started/unix-variants.rst
+++ b/getting_started/unix-variants.rst
@@ -113,7 +113,7 @@ long wait you'll experience if you build everything. Finally,
.. parsed-literal::
- **$** ./bjam install
+ **$** ./b2 install
will leave Boost binaries in the ``lib/`` subdirectory of your
installation prefix. You will also find a copy of the Boost
@@ -150,7 +150,7 @@ For example, your session might look like this:
.. parsed-literal::
$ cd ~/|boost_ver|
- $ bjam **--build-dir=**\ /tmp/build-boost **toolset=**\ gcc stage
+ $ b2 **--build-dir=**\ /tmp/build-boost **toolset=**\ gcc stage
That will build static and shared non-debug multi-threaded variants of the libraries. To build all variants, pass the additional option, “``--build-type=complete``”.
diff --git a/getting_started/windows.html b/getting_started/windows.html
index 4e77e2c..3b37985 100644
--- a/getting_started/windows.html
+++ b/getting_started/windows.html
@@ -42,7 +42,7 @@ not supported—they may or may not work.
5.3.1 Install Boost.Build
5.3.2 Identify Your Toolset
5.3.3 Select a Build Directory
-
5.3.4 Invoke bjam
+
5.3.4 Invoke b2
5.4 Expected Build Output
@@ -94,7 +94,7 @@ distribution.
array\
…more libraries…
status\ .........................
Boost-wide test suite
-
tools\ ...........
Utilities, e.g. bjam, quickbook, bcp
+
tools\ ...........
Utilities, e.g. Boost.Build, quickbook, bcp
more\ ..........................
Policy documents, etc.
doc\ ...............
A subset of all Boost library docs
@@ -367,12 +367,12 @@ and change your current directory to the Boost root directory. Then, type
the following commands:
bootstrap
-.\bjam
+.\b2
The first command prepares the Boost.Build system for use. The second
command invokes Boost.Build to build the separately-compiled Boost
libraries. Please consult the Boost.Build documentation for a list
-of options that can be passed to bjam.
+of allowed options.
@@ -395,7 +395,7 @@ install it. To do this:
- Go to the directory tools\build\v2\.
- Run bootstrap.bat
-- Run bjam install --prefix=PREFIX where PREFIX is
+
- 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.
@@ -408,7 +408,7 @@ Boost.Build documentation).
Note
If you previously chose a toolset for the purposes of
-building bjam, you should assume it won't work and instead
+building b2, you should assume it won't work and instead
choose newly from the table below.
@@ -510,25 +510,25 @@ directory is writable, this step isn't strictly necessary: by
default Boost.Build will create a bin.v2/ subdirectory for that
purpose in your current working directory.
-
-
+
+
Change your current directory to the Boost root directory and
-invoke bjam as follows:
+invoke
b2 as follows:
-bjam --build-dir=build-directory toolset=toolset-name --build-type=complete stage
+b2 --build-dir=build-directory toolset=toolset-name --build-type=complete stage
For a complete description of these and other invocation options,
please see the Boost.Build documentation.
For example, your session might look like this:
C:\WINDOWS> cd C:\Program Files\boost\boost_1_47_0
-C:\Program Files\boost\boost_1_47_0> bjam ^
+C:\Program Files\boost\boost_1_47_0> b2 ^
More? --build-dir="C:\Documents and Settings\dave\build-boost" ^
More? --build-type=complete msvc stage
Be sure to read this note about the appearance of ^,
More? and quotation marks (") in that line.
-
The option “--build-type=complete” causes bjam to build
+
The option “--build-type=complete” causes Boost.Build to build
all supported variants of the libraries. For instructions on how to
build only specific variants, please ask on the Boost.Build mailing
list.
@@ -538,16 +538,16 @@ list.
Building the special stage target places Boost
library binaries in the stage\lib\ subdirectory of
the Boost tree. To use a different directory pass the
---stagedir=directory option to bjam.
+
--stagedir=directory option to
b2.
Note
-
bjam is case-sensitive; it is important that all the
+
b2 is case-sensitive; it is important that all the
parts shown in bold type above be entirely lower-case.
For a description of other options you can pass when invoking
-bjam, type:
+
b2, type:
-bjam --help
+b2 --help
In particular, to limit the amount of time spent building, you may
be interested in:
diff --git a/getting_started/windows.rst b/getting_started/windows.rst
index 280373c..2a396a8 100644
--- a/getting_started/windows.rst
+++ b/getting_started/windows.rst
@@ -208,12 +208,12 @@ and change your current directory to the Boost root directory. Then, type
the following commands::
bootstrap
- .\bjam
+ .\b2
The first command prepares the Boost.Build system for use. The second
command invokes Boost.Build to build the separately-compiled Boost
libraries. Please consult the `Boost.Build documentation`__ for a list
-of options that can be passed to ``bjam``.
+of allowed options.
__ http://www.boost.org/boost-build2/doc/html/bbv2/overview/invocation.html
@@ -239,14 +239,14 @@ For example, your session might look like this: [#continuation]_
.. parsed-literal::
C:\\WINDOWS> cd |default-root|
- |default-root|> bjam **^**
+ |default-root|> b2 **^**
More? **--build-dir=**\ "C:\\Documents and Settings\\dave\\build-boost" **^**
More? **--build-type=complete** **msvc** stage
Be sure to read `this note`__ about the appearance of ``^``,
``More?`` and quotation marks (``"``) in that line.
-The option “\ **--build-type=complete**\ ” causes ``bjam`` to build
+The option “\ **--build-type=complete**\ ” causes Boost.Build to build
all supported variants of the libraries. For instructions on how to
build only specific variants, please ask on the `Boost.Build mailing
list`_.