mirror of
https://github.com/boostorg/more.git
synced 2024-12-25 23:20:12 +08:00
Fix reference to B2, both text and links.
This updates the getting started docs to refer to the canonical B2 name. Also updates all the links to B2 documentation to point to the local tools/build sourced location. Hence making those links work in both off-line and on-line (versioned) versions of this documentation.
This commit is contained in:
parent
b3dfe6529a
commit
422ad51772
@ -15,7 +15,7 @@ install it. To do this:
|
||||
the directory where you want Boost.Build to be installed
|
||||
4. Add *PREFIX*\ |/|\ ``bin`` to your PATH environment variable.
|
||||
|
||||
.. _Boost.Build: ../../tools/build/index.html
|
||||
.. _Boost.Build: ../../tools/build/doc/html/index.html
|
||||
.. _Boost.Build documentation: Boost.Build_
|
||||
|
||||
.. _toolset:
|
||||
@ -28,13 +28,13 @@ First, find the toolset corresponding to your compiler in the
|
||||
following table (an up-to-date list is always available `in the
|
||||
Boost.Build documentation`__).
|
||||
|
||||
__ https://boostorg.github.io/build/manual/develop/index.html#bbv2.reference.tools
|
||||
__ ../../tools/build/doc/html/index.html#bbv2.reference.tools
|
||||
|
||||
.. Note:: If you previously chose a toolset for the purposes of
|
||||
`building b2`_, you should assume it won't work and instead
|
||||
choose newly from the table below.
|
||||
|
||||
.. _building b2: ../../doc/html/bbv2/installation.html
|
||||
.. _building b2: ../../tools/build/doc/html/index.html#bbv2.installation
|
||||
|
||||
+-----------+--------------------+------------------------------------------------------------+
|
||||
|Toolset |Vendor |Notes |
|
||||
@ -109,5 +109,5 @@ invoke ``b2`` as follows:
|
||||
For a complete description of these and other invocation options,
|
||||
please see the `Boost.Build documentation`__.
|
||||
|
||||
__ http://www.boost.org/build/doc/html/bbv2/overview/invocation.html
|
||||
__ ../../tools/build/doc/html/index.html#bbv2.overview.invocation
|
||||
|
||||
|
@ -68,6 +68,6 @@ If it seems like the build system can't find your compiler and/or
|
||||
linker, consider setting up a ``user-config.jam`` file as described
|
||||
`here`__. If that isn't your problem or the ``user-config.jam`` file
|
||||
doesn't work for you, please address questions about configuring Boost
|
||||
for your compiler to the `Boost.Build mailing list`_.
|
||||
for your compiler to the `Boost Users' mailing list`_.
|
||||
|
||||
__ http://www.boost.org/build/doc/html/bbv2/overview/configuration.html
|
||||
__ ../../tools/build/doc/html/index.html#bbv2.overview.configuration
|
||||
|
@ -16,7 +16,6 @@ mailing list`_.
|
||||
|
||||
* `Boost.Build reference manual`_
|
||||
* `Boost Users' mailing list`_
|
||||
* `Boost.Build mailing list`_
|
||||
* `Index of all Boost library documentation`_
|
||||
|
||||
.. _Index of all Boost library documentation: ../../libs/index.html
|
||||
@ -29,7 +28,6 @@ mailing list`_.
|
||||
|
||||
-- the Boost Developers
|
||||
|
||||
.. _Boost.Build reference manual: ../../tools/build/index.html
|
||||
.. _Boost.Build reference manual: ../../tools/build/doc/html/index.html
|
||||
.. _Boost Users' mailing list: http://www.boost.org/more/mailing_lists.htm#users
|
||||
.. _Boost.Build mailing list: http://www.boost.org/more/mailing_lists.htm#jamboost
|
||||
|
||||
|
@ -301,16 +301,16 @@ path in place of the Boost root directory.</p>
|
||||
<div class="section" id="or-build-custom-binaries">
|
||||
<h2><a class="toc-backref" href="#id27">5.2 Or, Build Custom Binaries</a></h2>
|
||||
<p>If you're using a compiler other than your system's default, you'll
|
||||
need to use <a class="reference external" href="../../tools/build/index.html">Boost.Build</a> to create binaries.</p>
|
||||
need to use <a class="reference external" href="../../tools/build/doc/html/index.html">Boost.Build</a> to create binaries.</p>
|
||||
<p>You'll also
|
||||
use this method if you need a nonstandard build variant (see the
|
||||
<a class="reference external" href="../../tools/build/index.html">Boost.Build documentation</a> for more details).</p>
|
||||
<a class="reference external" href="../../tools/build/doc/html/index.html">Boost.Build documentation</a> for more details).</p>
|
||||
<!-- Copyright David Abrahams 2006. Distributed under the Boost -->
|
||||
<!-- Software License, Version 1.0. (See accompanying -->
|
||||
<!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -->
|
||||
<div class="section" id="install-boost-build">
|
||||
<h3><a class="toc-backref" href="#id28">5.2.1 Install Boost.Build</a></h3>
|
||||
<p><a class="reference external" href="../../tools/build/index.html">Boost.Build</a> is a text-based system for developing, testing, and
|
||||
<p><a class="reference external" href="../../tools/build/doc/html/index.html">Boost.Build</a> is a text-based system for developing, testing, and
|
||||
installing software. First, you'll need to build and
|
||||
install it. To do this:</p>
|
||||
<ol class="arabic simple">
|
||||
@ -324,12 +324,12 @@ the directory where you want Boost.Build to be installed</li>
|
||||
<div class="section" id="identify-your-toolset">
|
||||
<span id="toolset-name"></span><span id="toolset"></span><h3><a class="toc-backref" href="#id29">5.2.2 Identify Your Toolset</a></h3>
|
||||
<p>First, find the toolset corresponding to your compiler in the
|
||||
following table (an up-to-date list is always available <a class="reference external" href="https://boostorg.github.io/build/manual/develop/index.html#bbv2.reference.tools">in the
|
||||
following table (an up-to-date list is always available <a class="reference external" href="../../tools/build/doc/html/index.html#bbv2.reference.tools">in the
|
||||
Boost.Build documentation</a>).</p>
|
||||
<div class="admonition note">
|
||||
<p class="first admonition-title">Note</p>
|
||||
<p class="last">If you previously chose a toolset for the purposes of
|
||||
<a class="reference external" href="../../doc/html/bbv2/installation.html">building b2</a>, you should assume it won't work and instead
|
||||
<a class="reference external" href="../../tools/build/doc/html/index.html#bbv2.installation">building b2</a>, you should assume it won't work and instead
|
||||
choose newly from the table below.</p>
|
||||
</div>
|
||||
<table border="1" class="docutils">
|
||||
@ -356,7 +356,7 @@ Name</th>
|
||||
</tr>
|
||||
<tr><td><tt class="docutils literal">como</tt></td>
|
||||
<td>Comeau Computing</td>
|
||||
<td>Using this toolset may require <a class="reference external" href="../../tools/build/index.html">configuring</a> another
|
||||
<td>Using this toolset may require <a class="reference external" href="../../tools/build/doc/html/index.html">configuring</a> another
|
||||
toolset to act as its backend.</td>
|
||||
</tr>
|
||||
<tr><td><tt class="docutils literal">darwin</tt></td>
|
||||
@ -407,7 +407,7 @@ a hyphen, e.g. <tt class="docutils literal"><span class="pre">intel-9.0</span></
|
||||
</div>
|
||||
<div class="section" id="select-a-build-directory">
|
||||
<span id="id11"></span><span id="build-directory"></span><h3><a class="toc-backref" href="#id30">5.2.3 Select a Build Directory</a></h3>
|
||||
<p><a class="reference external" href="../../tools/build/index.html">Boost.Build</a> will place all intermediate files it generates while
|
||||
<p><a class="reference external" href="../../tools/build/doc/html/index.html">Boost.Build</a> will place all intermediate files it generates while
|
||||
building into the <strong>build directory</strong>. If your Boost root
|
||||
directory is writable, this step isn't strictly necessary: by
|
||||
default Boost.Build will create a <tt class="docutils literal">bin.v2/</tt> subdirectory for that
|
||||
@ -421,7 +421,7 @@ invoke <tt class="docutils literal">b2</tt> as follows:</p>
|
||||
b2 <strong>--build-dir=</strong><a class="reference internal" href="#id11"><em>build-directory</em></a> <strong>toolset=</strong><a class="reference internal" href="#toolset-name"><em>toolset-name</em></a> `` `` stage
|
||||
</pre>
|
||||
<p>For a complete description of these and other invocation options,
|
||||
please see the <a class="reference external" href="http://www.boost.org/build/doc/html/bbv2/overview/invocation.html">Boost.Build documentation</a>.</p>
|
||||
please see the <a class="reference external" href="../../tools/build/doc/html/index.html#bbv2.overview.invocation">Boost.Build documentation</a>.</p>
|
||||
<p>For example, your session might look like this:</p>
|
||||
<pre class="literal-block">
|
||||
$ cd ~/<tt class="docutils literal">boost_1_76_0</tt>
|
||||
@ -495,9 +495,9 @@ packages for libz and libbz2 if you need those features. Other
|
||||
errors when building Boost libraries are cause for concern.</p>
|
||||
<p>If it seems like the build system can't find your compiler and/or
|
||||
linker, consider setting up a <tt class="docutils literal"><span class="pre">user-config.jam</span></tt> file as described
|
||||
<a class="reference external" href="http://www.boost.org/build/doc/html/bbv2/overview/configuration.html">here</a>. If that isn't your problem or the <tt class="docutils literal"><span class="pre">user-config.jam</span></tt> file
|
||||
<a class="reference external" href="../../tools/build/doc/html/index.html#bbv2.overview.configuration">here</a>. If that isn't your problem or the <tt class="docutils literal"><span class="pre">user-config.jam</span></tt> file
|
||||
doesn't work for you, please address questions about configuring Boost
|
||||
for your compiler to the <a class="reference external" href="http://www.boost.org/more/mailing_lists.htm#jamboost">Boost.Build mailing list</a>.</p>
|
||||
for your compiler to the <a class="reference external" href="http://www.boost.org/more/mailing_lists.htm#users">Boost Users' mailing list</a>.</p>
|
||||
<!-- Copyright David Abrahams 2006. Distributed under the Boost -->
|
||||
<!-- Software License, Version 1.0. (See accompanying -->
|
||||
<!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -->
|
||||
@ -778,9 +778,8 @@ If you can't find what you need, or there's anything we can do to
|
||||
make this document clearer, please post it to the <a class="reference external" href="http://www.boost.org/more/mailing_lists.htm#users">Boost Users'
|
||||
mailing list</a>.</p>
|
||||
<ul class="simple">
|
||||
<li><a class="reference external" href="../../tools/build/index.html">Boost.Build reference manual</a></li>
|
||||
<li><a class="reference external" href="../../tools/build/doc/html/index.html">Boost.Build reference manual</a></li>
|
||||
<li><a class="reference external" href="http://www.boost.org/more/mailing_lists.htm#users">Boost Users' mailing list</a></li>
|
||||
<li><a class="reference external" href="http://www.boost.org/more/mailing_lists.htm#jamboost">Boost.Build mailing list</a></li>
|
||||
<li><a class="reference external" href="../../libs/index.html">Index of all Boost library documentation</a></li>
|
||||
</ul>
|
||||
<div class="admonition admonition-onward">
|
||||
|
@ -356,20 +356,20 @@ bootstrap
|
||||
</pre>
|
||||
<p>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 <a class="reference external" href="http://www.boost.org/build/doc/html/bbv2/overview/invocation.html">Boost.Build documentation</a> for a list
|
||||
libraries. Please consult the <a class="reference external" href="../../tools/build/doc/html/index.html#bbv2.overview.invocation">Boost.Build documentation</a> for a list
|
||||
of allowed options.</p>
|
||||
</div>
|
||||
<div class="section" id="or-build-binaries-from-source">
|
||||
<h2><a class="toc-backref" href="#id37">5.2 Or, Build Binaries From Source</a></h2>
|
||||
<p>If you're using an earlier version of Visual C++, or a compiler
|
||||
from another vendor, you'll need to use <a class="reference external" href="../../tools/build/index.html">Boost.Build</a> to create your
|
||||
from another vendor, you'll need to use <a class="reference external" href="../../tools/build/doc/html/index.html">Boost.Build</a> to create your
|
||||
own binaries.</p>
|
||||
<!-- Copyright David Abrahams 2006. Distributed under the Boost -->
|
||||
<!-- Software License, Version 1.0. (See accompanying -->
|
||||
<!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -->
|
||||
<div class="section" id="install-boost-build">
|
||||
<h3><a class="toc-backref" href="#id38">5.2.1 Install Boost.Build</a></h3>
|
||||
<p><a class="reference external" href="../../tools/build/index.html">Boost.Build</a> is a text-based system for developing, testing, and
|
||||
<p><a class="reference external" href="../../tools/build/doc/html/index.html">Boost.Build</a> is a text-based system for developing, testing, and
|
||||
installing software. First, you'll need to build and
|
||||
install it. To do this:</p>
|
||||
<ol class="arabic simple">
|
||||
@ -383,12 +383,12 @@ the directory where you want Boost.Build to be installed</li>
|
||||
<div class="section" id="identify-your-toolset">
|
||||
<span id="toolset-name"></span><span id="toolset"></span><h3><a class="toc-backref" href="#id39">5.2.2 Identify Your Toolset</a></h3>
|
||||
<p>First, find the toolset corresponding to your compiler in the
|
||||
following table (an up-to-date list is always available <a class="reference external" href="https://boostorg.github.io/build/manual/develop/index.html#bbv2.reference.tools">in the
|
||||
following table (an up-to-date list is always available <a class="reference external" href="../../tools/build/doc/html/index.html#bbv2.reference.tools">in the
|
||||
Boost.Build documentation</a>).</p>
|
||||
<div class="admonition note">
|
||||
<p class="first admonition-title">Note</p>
|
||||
<p class="last">If you previously chose a toolset for the purposes of
|
||||
<a class="reference external" href="../../doc/html/bbv2/installation.html">building b2</a>, you should assume it won't work and instead
|
||||
<a class="reference external" href="../../tools/build/doc/html/index.html#bbv2.installation">building b2</a>, you should assume it won't work and instead
|
||||
choose newly from the table below.</p>
|
||||
</div>
|
||||
<table border="1" class="docutils">
|
||||
@ -415,7 +415,7 @@ Name</th>
|
||||
</tr>
|
||||
<tr><td><tt class="docutils literal">como</tt></td>
|
||||
<td>Comeau Computing</td>
|
||||
<td>Using this toolset may require <a class="reference external" href="../../tools/build/index.html">configuring</a> another
|
||||
<td>Using this toolset may require <a class="reference external" href="../../tools/build/doc/html/index.html">configuring</a> another
|
||||
toolset to act as its backend.</td>
|
||||
</tr>
|
||||
<tr><td><tt class="docutils literal">darwin</tt></td>
|
||||
@ -469,7 +469,7 @@ detection code) or <a class="reference internal" href="#auto-linking">auto-linki
|
||||
</div>
|
||||
<div class="section" id="select-a-build-directory">
|
||||
<span id="id13"></span><span id="build-directory"></span><h3><a class="toc-backref" href="#id40">5.2.3 Select a Build Directory</a></h3>
|
||||
<p><a class="reference external" href="../../tools/build/index.html">Boost.Build</a> will place all intermediate files it generates while
|
||||
<p><a class="reference external" href="../../tools/build/doc/html/index.html">Boost.Build</a> will place all intermediate files it generates while
|
||||
building into the <strong>build directory</strong>. If your Boost root
|
||||
directory is writable, this step isn't strictly necessary: by
|
||||
default Boost.Build will create a <tt class="docutils literal">bin.v2/</tt> subdirectory for that
|
||||
@ -483,7 +483,7 @@ invoke <tt class="docutils literal">b2</tt> as follows:</p>
|
||||
b2 <strong>--build-dir=</strong><a class="reference internal" href="#id13"><em>build-directory</em></a> <strong>toolset=</strong><a class="reference internal" href="#toolset-name"><em>toolset-name</em></a> <strong>--build-type=complete</strong> stage
|
||||
</pre>
|
||||
<p>For a complete description of these and other invocation options,
|
||||
please see the <a class="reference external" href="http://www.boost.org/build/doc/html/bbv2/overview/invocation.html">Boost.Build documentation</a>.</p>
|
||||
please see the <a class="reference external" href="../../tools/build/doc/html/index.html#bbv2.overview.invocation">Boost.Build documentation</a>.</p>
|
||||
<p>For example, your session might look like this:<a class="footnote-reference" href="#continuation" id="id15"><sup>3</sup></a></p>
|
||||
<pre class="literal-block">
|
||||
C:\WINDOWS> cd <tt class="docutils literal"><span class="pre">C:\Program</span> Files\boost\</tt><tt class="docutils literal">boost_1_76_0</tt>
|
||||
@ -495,7 +495,7 @@ More? <strong>--build-type=complete</strong> <strong>msvc</strong> stage
|
||||
<tt class="docutils literal">More?</tt> and quotation marks (<tt class="docutils literal">"</tt>) in that line.</p>
|
||||
<p>The option “<strong>--build-type=complete</strong>” causes Boost.Build to build
|
||||
all supported variants of the libraries. For instructions on how to
|
||||
build only specific variants, please ask on the <a class="reference external" href="http://www.boost.org/more/mailing_lists.htm#jamboost">Boost.Build mailing
|
||||
build only specific variants, please ask on the <a class="reference external" href="http://www.boost.org/more/mailing_lists.htm#users">Boost Users' mailing
|
||||
list</a>.</p>
|
||||
<!-- Copyright David Abrahams 2006. Distributed under the Boost -->
|
||||
<!-- Software License, Version 1.0. (See accompanying -->
|
||||
@ -564,9 +564,9 @@ packages for libz and libbz2 if you need those features. Other
|
||||
errors when building Boost libraries are cause for concern.</p>
|
||||
<p>If it seems like the build system can't find your compiler and/or
|
||||
linker, consider setting up a <tt class="docutils literal"><span class="pre">user-config.jam</span></tt> file as described
|
||||
<a class="reference external" href="http://www.boost.org/build/doc/html/bbv2/overview/configuration.html">here</a>. If that isn't your problem or the <tt class="docutils literal"><span class="pre">user-config.jam</span></tt> file
|
||||
<a class="reference external" href="../../tools/build/doc/html/index.html#bbv2.overview.configuration">here</a>. If that isn't your problem or the <tt class="docutils literal"><span class="pre">user-config.jam</span></tt> file
|
||||
doesn't work for you, please address questions about configuring Boost
|
||||
for your compiler to the <a class="reference external" href="http://www.boost.org/more/mailing_lists.htm#jamboost">Boost.Build mailing list</a>.</p>
|
||||
for your compiler to the <a class="reference external" href="http://www.boost.org/more/mailing_lists.htm#users">Boost Users' mailing list</a>.</p>
|
||||
<span class="target" id="auto-linking"></span><!-- Copyright David Abrahams 2006. Distributed under the Boost -->
|
||||
<!-- Software License, Version 1.0. (See accompanying -->
|
||||
<!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -->
|
||||
@ -848,9 +848,8 @@ If you can't find what you need, or there's anything we can do to
|
||||
make this document clearer, please post it to the <a class="reference external" href="http://www.boost.org/more/mailing_lists.htm#users">Boost Users'
|
||||
mailing list</a>.</p>
|
||||
<ul class="simple">
|
||||
<li><a class="reference external" href="../../tools/build/index.html">Boost.Build reference manual</a></li>
|
||||
<li><a class="reference external" href="../../tools/build/doc/html/index.html">Boost.Build reference manual</a></li>
|
||||
<li><a class="reference external" href="http://www.boost.org/more/mailing_lists.htm#users">Boost Users' mailing list</a></li>
|
||||
<li><a class="reference external" href="http://www.boost.org/more/mailing_lists.htm#jamboost">Boost.Build mailing list</a></li>
|
||||
<li><a class="reference external" href="../../libs/index.html">Index of all Boost library documentation</a></li>
|
||||
</ul>
|
||||
<div class="admonition admonition-onward">
|
||||
|
@ -183,7 +183,7 @@ command invokes Boost.Build to build the separately-compiled Boost
|
||||
libraries. Please consult the `Boost.Build documentation`__ for a list
|
||||
of allowed options.
|
||||
|
||||
__ http://www.boost.org/build/doc/html/bbv2/overview/invocation.html
|
||||
__ ../../tools/build/doc/html/index.html#bbv2.overview.invocation
|
||||
|
||||
Or, Build Binaries From Source
|
||||
------------------------------
|
||||
@ -208,7 +208,7 @@ Be sure to read `this note`__ about the appearance of ``^``,
|
||||
|
||||
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
|
||||
build only specific variants, please ask on the `Boost Users' mailing
|
||||
list`_.
|
||||
|
||||
__ continuation_
|
||||
|
Loading…
Reference in New Issue
Block a user