|
|
@@ -2,16 +2,22 @@
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
|
<head>
|
|
|
+
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
-<meta name="generator" content="Docutils 0.6: http://docutils.sourceforge.net/" />
|
|
|
+<meta name="generator" content="Docutils 0.7: http://docutils.sourceforge.net/" />
|
|
|
<title>Boost Getting Started on Unix Variants</title>
|
|
|
<meta content="Getting Started with Boost on Unix Variants (including Linux and MacOS)" name="description" />
|
|
|
+
|
|
|
<link rel="stylesheet" href="../../rst.css" type="text/css" />
|
|
|
+
|
|
|
</head>
|
|
|
<body>
|
|
|
<div class="document" id="logo-getting-started-on-unix-variants">
|
|
|
+
|
|
|
<h1 class="title"><a class="reference external" href="../../index.htm"><img alt="Boost" class="boost-logo" src="../../boost.png" /></a> Getting Started on Unix Variants</h1>
|
|
|
|
|
|
+
|
|
|
+
|
|
|
<!-- 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) -->
|
|
|
@@ -180,7 +186,9 @@ treatment when linking.</p>
|
|
|
<p>The only Boost libraries that <em>must</em> be built separately are:</p>
|
|
|
<ul class="simple">
|
|
|
<li><a class="reference external" href="../../libs/filesystem/index.html">Boost.Filesystem</a></li>
|
|
|
+<li><a class="reference external" href="../../libs/graph_parallel/index.html">Boost.GraphParallel</a></li>
|
|
|
<li><a class="reference external" href="../../libs/iostreams/index.html">Boost.IOStreams</a></li>
|
|
|
+<li><a class="reference external" href="../../libs/mpi/index.html">Boost.MPI</a></li>
|
|
|
<li><a class="reference external" href="../../libs/program_options/index.html">Boost.ProgramOptions</a></li>
|
|
|
<li><a class="reference external" href="../../libs/python/doc/building.html">Boost.Python</a> (see the <a class="reference external" href="../../libs/python/doc/building.html">Boost.Python build documentation</a>
|
|
|
before building and installing it)</li>
|
|
|
@@ -198,6 +206,10 @@ you're using its <tt class="docutils literal">to_string</tt>/<tt class="docutils
|
|
|
features, or if you're targeting Visual C++ 6.x or Borland.</li>
|
|
|
<li><a class="reference external" href="../../libs/graph/index.html">Boost.Graph</a> also has a binary component that is only needed if
|
|
|
you intend to <a class="reference external" href="../../libs/graph/doc/read_graphviz.html">parse GraphViz files</a>.</li>
|
|
|
+<li><a class="reference external" href="../../libs/math/index.html">Boost.Math</a> has binary components for the TR1 and C99
|
|
|
+cmath functions.</li>
|
|
|
+<li><a class="reference external" href="../../libs/random/index.html">Boost.Random</a> has a binary component which is only needed if
|
|
|
+you're using <tt class="docutils literal">random_device</tt>.</li>
|
|
|
<li><a class="reference external" href="../../libs/test/index.html">Boost.Test</a> can be used in “header-only” or “separately compiled”
|
|
|
mode, although <strong>separate compilation is recommended for serious
|
|
|
use</strong>.</li>
|
|
|
@@ -273,7 +285,7 @@ least use</p>
|
|
|
<strong>$</strong> ./bootstrap.sh <strong>--prefix=</strong><em>path</em>/<em>to</em>/<em>installation</em>/<em>prefix</em>
|
|
|
</pre>
|
|
|
<p>to install somewhere else. Also, consider using the
|
|
|
-<tt class="docutils literal"><span class="pre">--show-libraries</span></tt> and <tt class="docutils literal"><span class="pre">--with-</span></tt><em>library_name</em> options to limit the
|
|
|
+<tt class="docutils literal"><span class="pre">--show-libraries</span></tt> and <tt class="docutils literal"><span class="pre">--with-libraries=</span></tt><em>library-name-list</em> options to limit the
|
|
|
long wait you'll experience if you build everything. Finally,</p>
|
|
|
<pre class="literal-block">
|
|
|
<strong>$</strong> ./bjam install
|
|
|
@@ -442,8 +454,9 @@ $ bjam <strong>--build-dir=</strong>/tmp/build-boost <strong>toolset=</strong>gc
|
|
|
<!-- Software License, Version 1.0. (See accompanying -->
|
|
|
<!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -->
|
|
|
<p>Building the special <tt class="docutils literal">stage</tt> target places Boost
|
|
|
-library binaries in the <tt class="docutils literal">stage</tt><tt class="docutils literal">/</tt><tt class="docutils literal">lib</tt><tt class="docutils literal">/</tt> subdirectory of your <a class="reference internal" href="#build-directory">build
|
|
|
-directory</a>.</p>
|
|
|
+library binaries in the <tt class="docutils literal">stage</tt><tt class="docutils literal">/</tt><tt class="docutils literal">lib</tt><tt class="docutils literal">/</tt> subdirectory of
|
|
|
+the Boost tree. To use a different directory pass the
|
|
|
+<tt class="docutils literal"><span class="pre">--stagedir=</span></tt><em>directory</em> option to <tt class="docutils literal">bjam</tt>.</p>
|
|
|
<div class="note">
|
|
|
<p class="first admonition-title">Note</p>
|
|
|
<p class="last"><tt class="docutils literal">bjam</tt> is case-sensitive; it is important that all the
|
|
|
@@ -804,6 +817,8 @@ recommend it.</td></tr>
|
|
|
<!-- Software License, Version 1.0. (See accompanying -->
|
|
|
<!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -->
|
|
|
</div>
|
|
|
+
|
|
|
</div>
|
|
|
</body>
|
|
|
</html>
|
|
|
+
|