Просмотр исходного кода

First step in guide rewrite.

[SVN r36098]
Dave Abrahams 19 лет назад
Родитель
Сommit
dc352cef07
1 измененных файлов с 838 добавлено и 1550 удалено
  1. 838 1550
      more/getting_started.html

+ 838 - 1550
more/getting_started.html

@@ -1,1554 +1,842 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-
-<html>
+<?xml version="1.0" encoding="utf-8" ?>
+<!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>
-  <title>Getting Started</title>
-  <meta content="HTML Tidy for Cygwin (vers 1st April 2002), see www.w3.org"
-  name="generator">
-  <meta content="Microsoft FrontPage 5.0" name="generator">
-  <meta http-equiv="Content-Language" content="en-us">
-  <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
-  <link href="../boost.css" type="text/css" rel="stylesheet">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta name="generator" content="Docutils 0.5: http://docutils.sourceforge.net/" />
+<title>Getting Started With Boost  Boost</title>
+<link rel="stylesheet" href="../rst.css" type="text/css" />
 </head>
-
-<body text="#000000" bgcolor="#FFFFFF">
-  <table cellspacing="0" cellpadding="0" width="100%" summary="" border="0">
-    <tr valign="top">
-      <td valign="top" align="left"><img height="86" alt=
-      "boost.png (6897 bytes)" src="../boost.png" width="277"></td>
-
-      <td valign="top" align="right">
-        <table cellspacing="0" cellpadding="2" summary="" border="1">
-          <tr>
-            <td>
-              <table cellspacing="0" cellpadding="2" summary="" border="0">
-                <tr>
-                  <td bgcolor="#DDDDDD">
-                    <p>.&nbsp;<a href="../index.htm">Home</a><br>
-                    .&nbsp;<a href="../libs/libraries.htm">Libraries</a><br>
-                    .&nbsp;<a href="../people/people.htm">People</a><br>
-                    .&nbsp;<a href="faq.htm">FAQ</a><br>
-                    .&nbsp;<a href="index.htm">More</a></p>
-                  </td>
-                </tr>
-              </table>
-            </td>
-          </tr>
-        </table>
-      </td>
-    </tr>
-  </table>
-
-  <h1>Getting Started</h1>
-
-  <ul>
-    <li><a href="#Introduction">Introduction</a></li>
-
-    <li>
-      <a href="#Download">Download</a>
-
-      <ul>
-        <li><a href="#.zip">.zip file</a></li>
-
-        <li><a href="#.tar.gz">.tar.gz and .tar.bz2 files</a></li>
-
-        <li><a href="#CVS">Boost CVS Repository</a></li>
-      </ul>
-    </li>
-
-    <li>
-      <a href="#Preparation">Preparation</a>
-      <ul>
-        <li><a href="#Configuring">Configuring the tools</a></li>
-
-        <li><a href="#Tools">Supported Toolsets</a></li>
-      </ul>
-    </li>
-
-    <li><a href="#Build_Install">Build and Install</a></li>
-
-    <li><a href="#Results">Results</a></li>
-
-    <li><a href="#auto-link">Automatic Linking on Windows</a></li>
-
-    <li><a href="#Additional_Steps">Additional Steps</a></li>
-  </ul>
-
-  <h2><a id="Introduction" name="Introduction">Introduction</a></h2>
-
-  <p>These instructions are intended to help you get started using the Boost
-  Libraries. This walks you through getting, building, and installing the
-  libraries. To summarize these are the steps to get Boost built and
-  installed:</p>
-
-  <ol>
-    <li><a href="#step1">Download Boost</a>.</li>
-
-    <li><a href="#step2">Install Boost.Jam</a>.</li>
-
-    <li><a href="#step3">Configure your compiler toolset</a>.</li>
-
-    <li><a href="#step4">Go to Boost distribution directory</a>.</li>
-
-    <li><a href="#step5">Build and install</a>.</li>
-  </ol>
-
-  <h2><a id="Download" name="Download"></a>Download</h2>
-
-  <table cellspacing="2" cellpadding="2" width="100%" summary="" border="0">
-    <tr valign="top" align="left">
-      <td valign="top" align="center" width="40" bgcolor="#FFFF66">
-      <font size="6"><b><a id="step1" name="step1"></a>1</b></font></td>
-
-      <td>The Boost Libraries are distributed through the SourceForge file
-      distribution system. Click here to <b><a href=
-      "http://sourceforge.net/project/showfiles.php?group_id=7586&amp;package_id=8041">
-      <font size="4">download releases from SourceForge</font></a></b>. And
-      unpack the release to a convenient location.</td>
-    </tr>
-  </table>
-
-  <p>The Boost release includes all of the libraries and other material from
-  the web site. It is available in <a href="#.zip">ZIP</a>, <a href=
-  "#.tar.gz">TAR.GZ</a>, and <a href="#.tar.gz">TAR.BZ2</a> formats. Past
-  releases are also available.</p>It is also possible to download current
-  snapshots of work-in-progress from Boost's <a href="#CVS">CVS
-  repository</a>.
-
-  <h3><a id="zip" name=".zip">.zip</a> file</h3>The .zip format is widely
-  supported by both free decoders and commercial compress/archive utilities.
-  If you don't already have a .zip file decoder, download one from the
-  <a href="http://www.info-zip.org/">Info-ZIP</a> web site, which supplies
-  versions for many operating systems.
-
-  <p>Text file line endings in the .zip file are as supplied by each library
-  developer.&nbsp; This works fine for Windows, but not for Unix/Linux.&nbsp;
-  The .tar.gz and .tar.bz2 files supply Unix/Linux friendly line endings.</p>
-
-  <h3><a id="tar_gz" name=".tar.gz">.tar.gz</a> and .tar.bz2 files</h3>
-
-  <p>The .tar.gz format is widely supported on Unix/Linux platforms. Some
-  Windows compress/archive utilities can read the format as well.&nbsp;
-  Because the gzip format compresses the archive as a single file rather than
-  compressing each file individually, the .tar.gz file is smaller that the
-  .zip file.</p>
-
-  <p>The .tar.bz2 format is becoming widely available on Unix/Linux platforms
-  and is built into many tar utilities. This format differs for the .tar.gz
-  format in the compression used, which is considerably better and therefore
-  creates smaller files.</p>
-
-  <p>Text file line endings in the .tar.gz and .tar.bz2 files have been
-  converted to newlines for ease of use on Unix/Linux platforms.</p>
-
-  <h3>Boost <a id="CVS" name="CVS">CVS</a> Repository</h3>
-
-  <p>All Boost files, including the entire distribution tree including web
-  site HTML is maintained in a CVS repository. Command line, GUI, or browser
-  access is available.</p>
-
-  <h4>Boost CVS access via command line or graphical clients</h4>For those
-  who have CVS clients installed, the libraries are also available from the
-  public <a href="http://sourceforge.net/cvs/?group_id=7586">Boost CVS
-  repository</a>. Free command line clients (often already installed on
-  Linux/Unix systems) are available for many systems, and free GUI clients
-  are available for Windows, Mac, and other systems.
-
-  <p>See the much improved <a href=
-  "http://sourceforge.net/docman/?group_id=1">CVS documentation</a> (Section
-  F) from SourceForge, which includes links to the home pages for various GUI
-  and command line clients.</p>
-
-  <p>The general procedure for command-line clients is something like
-  this:</p>
-
-  <blockquote>
-    <code>cvs -d:pserver:anonymous@boost.cvs.sourceforge.net:/cvsroot/boost
-    login</code><br>
-    [Hit &lt;return&gt; when it asks for a password]<br>
-    <code>cvs -z3 -d:pserver:anonymous@boost.cvs.sourceforge.net:/cvsroot/boost
-    checkout boost</code><br>
-    <code>cvs -d:pserver:anonymous@boost.cvs.sourceforge.net:/cvsroot/boost
-    logout</code>
-  </blockquote>Read the manual for your CVS client for further information.
-
-  <p>This access is read-only; if you are a library author and wish to have
-  CVS write access, please contact one of the <a href=
-  "moderators.html">moderators</a>.</p>
-
-  <h4>Boost CVS access via web <a id="Browser" name=
-  "Browser">Browser</a></h4>For access to the CVS archive from any modern web
-  browser, you can also use the <a href=
-  "http://boost.cvs.sourceforge.net/boost/boost/">web
-  browser&nbsp; interface</a>.&nbsp; Try one of the color diffs to see how a
-  file has changed over time. <b>Note:</b> this interface is only suitable
-  for viewing individual files and their revision histories.
-
-  <h4><a id="generated" name="generated">Documentation</a> generated from
-  BoostBook in CVS</h4>
-
-  <p>Some of the Boost documentation is generated from <a href=
-  "../doc/html/boostbook.html">BoostBook XML</a> source stored in the CVS
-  repository, and will not appear directly in the CVS tree as readable HTML.
-  View a nightly build of the generated HTML on the <a href=
-  "http://www.boost.org/regression-logs/cs-win32_metacomm/doc/html/libraries.html">
-  Nightly Generated Documentation</a> page. Where generated HTML is missing
-  from the CVS tree, an attempt has been made to include redirection to this
-  nightly build, but if you are away from an internet connection you may want
-  to download the generated documentation archive from the aforementioned
-  page so you can browse those documents offline.</p>
-
-  <h2><a id="Preparation" name="Preparation"></a>Preparation</h2>
-
-  <p>The recommended way to build and install the Boost Libraries is to use
-  <a href="../tools/build/v1/build_system.htm">Boost.Build</a>, the Boost
-  Build system. The rest of these instructions explain that use, but it is up
-  to you to use this method, or not. Note that some of the libraries also
-  include non Boost.Build makefiles and/or project files. But all include the
-  needed files for building with Boost.Build.</p>
-
-  <table cellspacing="2" cellpadding="2" width="100%" summary="" border="0">
-    <tr valign="top" align="left">
-      <td valign="top" align="center" width="40" bgcolor="#FFFF66">
-      <font size="6"><b><a id="step2" name="step2"></a>2</b></font></td>
-
-      <td>The build system uses <a href=
-      "../tools/jam/index.html">Boost.Jam</a>, an extension of the
-      <a href="http://www.perforce.com/jam/jam.html">Perforce Jam</a>
-      portable <i>make</i> replacement. The recommended way to get Boost.Jam
-      if you are using a Boost distribution is to <strong><a href=
-      "http://sourceforge.net/project/showfiles.php?group_id=7586&amp;package_id=72941">
-      download a prebuilt executable</a></strong> from SourceForge. If a
-      prebuilt executable is not provided for your platform or you are using
-      Boost's sources in an unreleased state, it may be necessary to <a href=
-      "../doc/html/jam/building.html">build <tt>bjam</tt>
-      from sources</a> included in the Boost source tree. To install
-      Boost.Jam, copy the <tt>bjam</tt> executable to a location accessible
-      in your <tt>PATH</tt>.</td>
-    </tr>
-  </table>
-
-  <h3><a id="Configuring" name="Configuring">Configuring the tools</a></h3>
-
-  <p>Before using Boost.Build you will need to configure the compiler tools
-  you are using. The build system's toolsets are designed to work in either
-  of two ways:</p>
-
-  <ol>
-    <li>The user sets up all of the environment for each toolset he wants to
-    use in the normal way. For example, for Microsoft VC++, ...VC98/Bin or
-    .../VC7/Bin is in the PATH environment variable, VCVARS32.BAT or
-    VSVARS32.BAT has been invoked, etc. For Metrowerks CodeWarrior, cwenv.bat
-    or equivalent has been called and ...Other Metrowerks Tools/Command Line
-    Tools is in the path. Many Unix operating systems come preconfigured this
-    way and require no user intervention.<br>
-    <br></li>
-
-    <li>The user doesn't want his environment cluttered with settings or has
-    nonstandard installations for some of his tools. Instead, he or she sets
-    variables which point to the toolset installation directories, either in
-    the command shell environment or on the <code>bjam</code> command-line.
-    These variables are used by the build system to locate the tools and
-    invoke the necessary setup. To set the variables on the <tt>bjam</tt>
-    command-line you use the "<tt>-s</tt>" option. For example:<br>
-    <br>
-    <tt>bjam "-sGCC_ROOT_DIRECTORY=/usr/local/gcc-3.3.2"</tt><br>
-    <br>
-    Some variables, like the toolset <tt>TOOLS</tt> variable, can accept
-    multiple values separated by spaces. Others, like the path above, can
-    contain spaces. For such circumstances you should use quotes appropriate
-    for your command interpreter.<br></li>
-  </ol>
-
-  <h3><a id="Tools" name="Tools">Supported Toolsets</a></h3>
-
-  <table cellspacing="2" cellpadding="2" width="100%" summary="" border="0">
-    <tr valign="top" align="left">
-      <td valign="top" align="center" width="40" bgcolor="#FFFF66">
-      <font size="6"><b><a id="step3" name="step3"></a>3</b></font></td>
-
-      <td>The following toolsets are supported by Boost.Build. For
-      information about <a href="#Configuring">configuring</a> each toolset,
-      click its name in the leftmost column.</td>
-    </tr>
-  </table><br>
-
-  <table cellpadding="5" summary="" border="1">
-    <tr>
-      <td><b>TOOLS Name</b></td>
-
-      <td><b>Description</b></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/borland-tools.html"><code>borland</code></a></td>
-
-      <td><a href=
-      "http://www.borland.com/bcppbuilder/freecompiler">Borland</a> C++</td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/como-tools.html"><code>como</code></a></td>
-
-      <td><a href="http://www.comeaucomputing.com">Comeau C++</a> compiler
-      front-end for non-Windows platforms</td>
-    </tr>
-
-    <tr>
-      <td><code><a href=
-      "../tools/build/v1/como-tools.html">como-win32</a></code></td>
-
-      <td><a href="http://www.comeaucomputing.com">Comeau C++</a> compiler
-      front-end for Windows, using Microsoft <a href=
-      "http://msdn.microsoft.com/visualc/">Visual C++</a>as a back-end.</td>
-    </tr>
-
-    <tr>
-      <td><a href="../tools/build/v1/cw-tools.html"><code>cw</code></a></td>
-
-      <td><a href="http://www.metrowerks.com">Metrowerks CodeWarrior</a> Pro
-      6.x, 7.x, 8.x, and 9.x command-line tools</td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/darwin-tools.html"><code>darwin</code></a></td>
-
-      <td>Apple Darwin OS hosted GNU <a href=
-      "http://developer.apple.com/tools/compilers.html">GCC</a></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/dmc-tools.html"><code>dmc</code></a></td>
-
-      <td><a href="http://www.digitalmars.com/">Digital Mars C++</a>.</td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/dmc-stlport-tools.html"><code>dmc-stlport</code></a></td>
-
-      <td><a href="http://www.digitalmars.com/">Digital Mars C++</a>, using
-      the <a href="http://www.stlport.org">STLport</a> standard library
-      implementation</td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/edg-tools.html"><code>edg</code></a></td>
-
-      <td><a href="http://www.edg.com/">Edison Design Group</a> compiler
-      front-end (evaluation version)</td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/gcc-tools.html"><code>gcc</code></a></td>
-
-      <td><a href="http://gcc.gnu.org">GNU GCC</a> on Unix and <a href=
-      "http://www.cygwin.com">Cygwin</a>.</td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/gcc-stlport-tools.html"><code>gcc-stlport</code></a></td>
-
-      <td><a href="http://gcc.gnu.org">GNU GCC</a> on Unix and <a href=
-      "http://www.cygwin.com">Cygwin</a>, using the <a href=
-      "http://www.stlport.org">STLport</a> standard library
-      implementation</td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/gcc-nocygwin-tools.html"><code>gcc-nocygwin</code></a></td>
-
-      <td>GNU GCC Cygwin command line compiler tools running in "no-cygwin"
-      mode (produces commercially redistributable objects)</td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/intel-linux-tools.html"><code>intel-linux</code></a></td>
-
-      <td><a href=
-      "http://www.intel.com/software/products/compilers/c60l/">Intel C++ for
-      Linux</a></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/intel-win32-tools.html"><code>intel-win32</code></a></td>
-
-      <td><a href=
-      "http://www.intel.com/software/products/compilers/c60/">Intel C++ for
-      Windows</a> using the Dinkumware standard library in the Intel-required
-      Microsoft <a href="http://msdn.microsoft.com/visualc/">Visual C++</a> 6
-      or 7 installation</td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/kcc-tools.html"><code>kcc</code></a></td>
-
-      <td>KAI C++</td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/kylix-tools.html"><code>kylix</code></a></td>
-
-      <td><a href="http://www.borland.com/kylix">Borland C++ for Linux
-      (Kylix).</a></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/mingw-tools.html"><code>mingw</code></a></td>
-
-      <td>GNU GCC and associated tools in <a href=
-      "http://www.mingw.org">MinGW</a> configuration (produces commercially
-      redistributable objects)</td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/mingw-stlport-tools.html"><code>mingw-stlport</code></a></td>
-
-      <td>GNU GCC and associated tools in <a href=
-      "http://www.mingw.org">MinGW</a> configuration (produces commercially
-      redistributable objects), using the <a href=
-      "http://www.stlport.org">STLport</a> standard library
-      implementation</td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/mipspro-tools.html"><code>mipspro</code></a></td>
-
-      <td>SGI <a href=
-      "http://www.sgi.com/developers/devtools/languages/mipspro.html">MIPSpro
-      C and C++</a></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/msvc-tools.html"><code>msvc</code></a></td>
-
-      <td>Microsoft <a href="http://msdn.microsoft.com/visualc/">Visual
-      C++</a> version 6 command-line tools. NOTE; For version 7.x (the .NET
-      series) use the vc7, vc-7_1, or vc-8_0 toolsets below.</td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/msvc-stlport-tools.html"><code>msvc-stlport</code></a></td>
-
-      <td>Microsoft <a href="http://msdn.microsoft.com/visualc/">Visual
-      C++</a> version 6 command-line tools, using the <a href=
-      "http://www.stlport.org">STLport</a> standard library implementation.
-      NOTE; For version 7.x (the .NET series) use the vc7-stlport or
-      vc-7_1-stlport toolsets below.</td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/sunpro-tools.html"><code>sunpro</code></a></td>
-
-      <td><a href=
-      "http://wwws.sun.com/software/sundev/suncc/index.html">SunPRO C++</a>
-      compiler</td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/tru64cxx-tools.html"><code>tru64cxx</code></a></td>
-
-      <td><a href="http://www.tru64unix.compaq.com/cplus/">Compaq C++</a> for
-      Tru64 UNIX (versions prior to 6.5)</td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/tru64cxx-tools.html"><code>tru64cxx65</code></a></td>
-
-      <td><a href="http://www.tru64unix.compaq.com/cplus/">Compaq C++</a>
-      Version 6.5 for Tru64 UNIX</td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/vacpp-tools.html"><code>vacpp</code></a></td>
-
-      <td><a href="http://www-3.ibm.com/software/ad/vacpp/">IBM Visual Age
-      C++</a> command-line tools</td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/vc7-tools.html"><code>vc7</code></a></td>
-
-      <td>Microsoft <a href="http://msdn.microsoft.com/visualc/">Visual
-      C++</a> command-line tools from Visual Studio .NET.</td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/vc7-stlport-tools.html"><code>vc7-stlport</code></a></td>
-
-      <td>Microsoft <a href="http://msdn.microsoft.com/visualc/">Visual
-      C++</a> command-line tools from Visual Studio .NET + STLPort.</td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/vc-7_1-tools.html"><code>vc-7_1</code></a></td>
-
-      <td>Microsoft <a href="http://msdn.microsoft.com/visualc/">Visual
-      C++</a> command-line tools from Visual Studio .NET 2003.</td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/vc-7_1-stlport-tools.html"><code>vc-7_1-stlport</code></a></td>
-
-      <td>Microsoft <a href="http://msdn.microsoft.com/visualc/">Visual
-      C++</a> command-line tools from Visual Studio .NET 2003 + STLPort.</td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/vc-8_0-tools.html"><code>vc-8_0</code></a></td>
-
-      <td>Microsoft <a href="http://msdn.microsoft.com/visualc/">Visual
-      C++</a> command-line tools from Visual Studio .NET 2005.</td>
-    </tr>
-  </table>
-
-  <h2><a id="Build_Install" name="Build_Install"></a>Build and Install</h2>
-
-  <p>The common build and install process is driven by the top-level build
-  file (<a href="../Jamfile">Jamfile</a>).</p>
-
-  <table cellspacing="2" cellpadding="2" width="100%" summary="" border="0">
-    <tr valign="top" align="left">
-      <td valign="top" align="center" width="40" bgcolor="#FFFF66">
-      <font size="6"><b><a id="step4" name="step4"></a>4</b></font></td>
-
-      <td>
-        <p>First you need to change to the directory where you have the Boost
-        distribution you downloaded. For example:</p>
-
-        <blockquote>
-          <p><code>chdir&nbsp;boost-1.31.0</code></p>
-        </blockquote>
-      </td>
-    </tr>
-  </table>
-
-  <p>The default build and install attempts to build all available libraries
-  and install to default locations the libraries and Boost header files. On
-  Unix systems the default install location is "<tt>/usr/local</tt>", and on
-  Windows systems the default is "<tt>C:\Boost</tt>". Within those
-  directories libraries are installed to the "<tt>lib</tt>" subdirectory, and
-  headers to an "<tt>include/boost-1_31</tt>" subdirectory, the version will
-  reflect the distribution you are installing.</p>
-
-  <table cellspacing="2" cellpadding="2" width="100%" summary="" border="0">
-    <tr valign="top" align="left">
-      <td valign="top" align="center" width="40" bgcolor="#FFFF66">
-      <font size="6"><b><a id="step5" name="step5"></a>5</b></font></td>
-
-      <td>
-        Invoke the build system, specifying the <a href=
-        "#Tools">toolset</a>(s) you wish to use, to build and install. For
-        example for GNU/GCC.
-
-        <blockquote>
-          <p><code>bjam&nbsp;"-sTOOLS=gcc" install</code></p>
-        </blockquote>
-
-        <p>Or if you are interested only in the built libraries you can have
-        them built and collected to a common directory without
-        installation.</p>
-
-        <blockquote>
-          <p><code>bjam&nbsp;"-sTOOLS=gcc" stage</code></p>
-        </blockquote>
-      </td>
-    </tr>
-  </table>
-
-  <p>The build and install system can be controlled through a set of options
-  similar in style to GNU configure options. The options allow you to, among
-  other things, change the install location, disable building of libraries,
-  etc. You can see a summary of the available options by invoking "<tt>bjam
-  --help</tt>". The full invocation takes the form:</p>
-
-  <blockquote>
-    <p><code>bjam&nbsp;[<i>options</i>...] [install|stage]</code></p>
-  </blockquote>
-
-  <table cellspacing="0" cellpadding="2" summary="" border="1">
-    <tr>
-      <th>Action</th>
-
-      <td>&nbsp;</td>
-    </tr>
-
-    <tr>
-      <td valign="top" nowrap align="left"><i>none</i></td>
-
-      <td valign="top" align="left">Only builds the Boost libraries. This
-      lets you do the first part of what the <tt>install</tt> action normally
-      does without copying the built libraries to the install location.</td>
-    </tr>
-
-    <tr>
-      <td valign="top" nowrap align="left"><tt>install</tt></td>
-
-      <td valign="top" align="left">Builds and installs Boost libraries and
-      headers.</td>
-    </tr>
-
-    <tr>
-      <td valign="top" nowrap align="left"><tt>stage</tt></td>
-
-      <td valign="top" align="left">Builds the Boost libraries and copies
-      them into a common directory.</td>
-    </tr>
-
-    <tr>
-      <th nowrap>Option</th>
-
-      <td valign="top" align="left">&nbsp;</td>
-    </tr>
-
-    <tr>
-      <td valign="top" nowrap align="left"><tt>--help</tt></td>
-
-      <td valign="top" align="left">Shows a short summary of the options and
-      syntax of the command.</td>
-    </tr>
-
-    <tr>
-      <td valign="top" nowrap align="left">
-      <tt>-sTOOLS=&lt;<i>toolsets</i>&gt;</tt></td>
-
-      <td valign="top" align="left">The list of tools to compile with.
-      Usually only one is needed.</td>
-    </tr>
-
-    <tr>
-      <td valign="top" nowrap align="left"><tt>--prefix=PREFIX</tt></td>
-
-      <td valign="top" align="left">Install architecture independent files
-      here.<br>
-      Default; <tt>C:\Boost</tt> on Win32.<br>
-      Default; <tt>/usr/local</tt> on Unix. Linux, etc.</td>
-    </tr>
-
-    <tr>
-      <td valign="top" nowrap align="left">
-      <tt>--exec-prefix=EPREFIX</tt></td>
-
-      <td valign="top" align="left">Install architecture dependent files
-      here.<br>
-      Default; <tt>PREFIX</tt></td>
-    </tr>
-
-    <tr>
-      <td valign="top" nowrap align="left"><tt>--libdir=DIR</tt></td>
-
-      <td valign="top" align="left">Install libraries here.<br>
-      Default; <tt>EPREFIX/lib</tt></td>
-    </tr>
-
-    <tr>
-      <td valign="top" nowrap align="left"><tt>--includedir=DIR</tt></td>
-
-      <td valign="top" align="left">Install source headers here. The Boost
-      headers are installed in a version specific
-      "<tt>boost-&lt;version&gt;</tt>" subdirectory in this directory.<br>
-      Default; <tt>PREFIX/include</tt></td>
-    </tr>
-
-    <tr>
-      <td valign="top" nowrap align="left"><tt>--builddir=DIR</tt></td>
-
-      <td valign="top" align="left">Build in this location instead of
-      building within the distribution tree. This moves where the sources for
-      the libraries are compiled to before they are installed.
-      Recommended!</td>
-    </tr>
-
-    <tr>
-      <td valign="top" nowrap align="left"><tt>--stagedir=DIR</tt></td>
-
-      <td valign="top" align="left">When staging only, with the
-      "<tt>stage</tt>" action, copy to the given location.<br>
-      Default; <tt>./stage</tt></td>
-    </tr>
-
-    <tr>
-      <td valign="top" nowrap align="left">
-      <tt>--without-&lt;<i>library</i>&gt;</tt></td>
-
-      <td valign="top" align="left">Do not build, stage, or install the
-      specified library.</td>
-    </tr>
-
-    <tr>
-      <td valign="top" nowrap align="left">
-      <tt>--with-&lt;<i>library</i>&gt;</tt></td>
-
-      <td valign="top" align="left">Build, stage, or install the specified
-      library. This changes the default from trying to build all possible
-      libraries, to only building the specified libraries.</td>
-    </tr>
-
-    <tr>
-      <td valign="top" nowrap align="left">
-      <tt>--with-python-root[=PYTHON_ROOT]</tt></td>
-
-      <td valign="top" align="left">Build Boost.Python libraries with the
-      Python devel packages located at <tt>PYTHON_ROOT</tt>. The Boost.Python
-      libraries are built only if the build can find the Python development
-      package at this location.<br>
-      Default; <tt>C:\Python24</tt> on Win32.<br>
-      Default; <tt>/usr</tt> on Unix, Linux, Cygwin, etc.</td>
-    </tr>
-
-    <tr>
-      <td valign="top" nowrap align="left">
-      <tt>--with-python-version[=2.4]</tt></td>
-
-      <td valign="top" align="left">Build Boost.Python libraries with the
-      Python version indicated.<br>
-      Default; 2.4.</td>
-    </tr>
-
-    <tr>
-      <td valign="top" nowrap align="left"><tt>--with-pydebug</tt></td>
-
-      <td valign="top" align="left">Build Boost.Python libraries using the
-      Python debug runtime. This builds an additional set of libraries for
-      use with the debug version of Python. The regular versions of the
-      Boost.Python libraries are also built.</td>
-    </tr>
-
-    <tr>
-      <td valign="top" nowrap align="left"><tt>-sHAVE_ICU=1</tt></td>
-
-      <td valign="top" align="left">Build Boost.Regex libraries with Unicode
-      support provided by the <a href=
-      "http://www-306.ibm.com/software/globalization/icu/index.jsp">ICU
-      libraries</a>. ICU must have been built with the same compiler that you
-      are using to build Boost, and must be installed into your compiler's
-      include and library search paths. See <a href=
-      "../libs/regex/doc/install.html#unicode">the Boost.Regex installation
-      documentation for more information</a>.</td>
-    </tr>
-
-    <tr>
-      <td valign="top" nowrap align="left">
-      <tt>-sICU_PATH=<i>path</i></tt></td>
-
-      <td valign="top" align="left">Build Boost.Regex libraries with Unicode
-      support provided by the <a href=
-      "http://www-306.ibm.com/software/globalization/icu/index.jsp">ICU
-      libraries</a>. ICU must have been built with the same compiler that you
-      are using to build Boost, and must have been built (or installed to)
-      directory <i>path</i>. For example if you configured ICU with
-      <tt>--prefix=/usr/local/icu/3.3</tt>, then use
-      <tt>-sICU_PATH=/usr/local/icu/3.3</tt>. See <a href=
-      "../libs/regex/doc/install.html#unicode">the Boost.Regex installation
-      documentation for more information</a>.</td>
-    </tr>
-
-    <tr>
-      <td valign="top" nowrap align="left"><tt>-sNO_COMPRESSION=1</tt></td>
-
-      <td valign="top" align="left">Build Boost.Iostreams without support for
-      the compression filters which rely on the non-Boost libraries zlib and
-      libbz2. If you use Windows, this option is enabled by default. If you
-      use UNIX, the compression filters will likely work with no
-      configuration, so this option should not be necessary. For full details
-      see <a href=
-      "http://www.boost.org/libs/iostreams/doc/index.html?path=7">Boost.Iostreams
-      Installation</a>.</td>
-    </tr>
-  </table>
-
-  <p>There are additional options as supported by <a href=
-  "../tools/build/v1/build_system.htm">Boost.Build</a> and <a href=
-  "../tools/jam/index.html">Boost.Jam</a>. Of the additional
-  options perhaps the most imporant is "<tt>-s<a href=
-  "../tools/build/v1/build_system.htm#build">BUILD</a>=&lt;features/variants&gt;</tt>"
-  which lets you override what is built by default. The
-  "<tt>&lt;features/variants&gt;</tt>" value is a list, separated by spaces,
-  of build requests. Features take the form of a tag and a value or values.
-  And variants are single symbolic names for a collection of features. For
-  example the default is to request "<tt>debug release
-  &lt;runtime-link&gt;static/dynamic &lt;threading&gt;single/multi</tt>", in
-  which "<tt>debug</tt>" and "<tt>release</tt>" are variants, and the rest
-  features with two values each.</p>
-
-  <p>If you have some feedback about the build and install process please
-  drop us a line at the <a href="mailing_lists.htm#jamboost">Boost.Build
-  mailing list</a>. We are particularly interested if it works for your
-  platform and if it there is anything that you feel could be done
-  better.</p>
-
-  <h2><a id="Results" name="Results"></a>Results</h2>
-
-  <p>The results of building come in to forms: static libraries, and dynamic
-  libraries. Depending on the platform the libraries produced have different
-  names to accommodate the platform requirements. For a single Boost library
-  the build with the default will produce eight different libraries. For
-  example building the Boost.Datetime library on Unix type system it would
-  produce:</p>
-
-  <ol>
-    <li><tt>libboost_date_time-gcc-d-1_31.so</tt></li>
-
-    <li><tt>libboost_date_time-gcc-mt-d-1_31.so</tt></li>
-
-    <li><tt>libboost_date_time-gcc-1_31.so</tt></li>
-
-    <li><tt>libboost_date_time-gcc-mt-1_31.so</tt></li>
-
-    <li><tt>libboost_date_time-gcc-d-1_31.a</tt></li>
-
-    <li><tt>libboost_date_time-gcc-mt-d-1_31.a</tt></li>
-
-    <li><tt>libboost_date_time-gcc-1_31.a</tt></li>
-
-    <li><tt>libboost_date_time-gcc-mt-1_31.a</tt><br></li>
-  </ol>
-
-  <table cellspacing="0" cellpadding="0" width="100%" summary="" border="0">
-    <tr>
-      <td colspan="11">
-        <table cellspacing="2" cellpadding="2" bgcolor="#CCCCCC" summary=""
-        border="0">
-          <tr>
-            <th>&middot; Library Prefix</th>
-          </tr>
-        </table>
-      </td>
-
-      <td width="80%">&nbsp;</td>
-    </tr>
-
-    <tr>
-      <td valign="bottom" bgcolor="#CCCCCC" rowspan="7"><tt><font size=
-      "+1">lib</font></tt></td>
-
-      <td colspan="11">
-        <table cellspacing="2" cellpadding="2" summary="" border="0">
-          <tr>
-            <th>&middot; Library Name</th>
-          </tr>
-        </table>
-      </td>
-    </tr>
-
-    <tr>
-      <td valign="bottom" rowspan="6"><tt><font size=
-      "+1">boost_date_time</font></tt></td>
-
-      <td colspan="10">
-        <table cellspacing="2" cellpadding="2" bgcolor="#CCCCCC" summary=""
-        border="0">
-          <tr>
-            <th>&middot; Toolset</th>
-          </tr>
-        </table>
-      </td>
-    </tr>
-
-    <tr>
-      <td valign="bottom" bgcolor="#CCCCCC" rowspan="5"><tt><font size=
-      "+1">-</font></tt></td>
-
-      <td valign="bottom" bgcolor="#CCCCCC" rowspan="5"><tt><font size=
-      "+1">gcc</font></tt></td>
-
-      <td colspan="8">
-        <table cellspacing="2" cellpadding="2" summary="" border="0">
-          <tr>
-            <th>&middot; Threading</th>
-          </tr>
-        </table>
-      </td>
-    </tr>
-
-    <tr>
-      <td valign="bottom" rowspan="4"><tt><font size="+1">-</font></tt></td>
-
-      <td valign="bottom" rowspan="4"><tt><font size="+1">mt</font></tt></td>
-
-      <td colspan="6">
-        <table cellspacing="2" cellpadding="2" bgcolor="#CCCCCC" summary=""
-        border="0">
-          <tr>
-            <th>&middot; Runtime</th>
-          </tr>
-        </table>
-      </td>
-    </tr>
-
-    <tr>
-      <td valign="bottom" bgcolor="#CCCCCC" rowspan="3"><tt><font size=
-      "+1">-</font></tt></td>
-
-      <td valign="bottom" bgcolor="#CCCCCC" rowspan="3"><tt><font size=
-      "+1">d</font></tt></td>
-
-      <td colspan="4">
-        <table cellspacing="2" cellpadding="2" summary="" border="0">
-          <tr>
-            <th>&middot; Boost Version</th>
-          </tr>
-        </table>
-      </td>
-    </tr>
-
-    <tr>
-      <td valign="bottom" rowspan="2"><tt><font size="+1">-</font></tt></td>
-
-      <td valign="bottom" rowspan="2"><tt><font size=
-      "+1">1_31</font></tt></td>
-
-      <td colspan="2">
-        <table cellspacing="2" cellpadding="2" bgcolor="#CCCCCC" summary=""
-        border="0">
-          <tr>
-            <th>&middot; Library Type</th>
-          </tr>
-        </table>
-      </td>
-    </tr>
-
-    <tr>
-      <td valign="bottom" bgcolor="#CCCCCC"><tt><font size=
-      "+1">.a</font></tt></td>
-
-      <td>&nbsp;</td>
-    </tr>
-  </table>
-
-  <h3>Library Prefix</h3>
-
-  <p>The "lib" prefix on the libraries is a requirement on many platforms,
-  like Unix, and on others like GCC running on Windows. The prefix is
-  therefore added to all libraries on Unix type systems, and to static
-  libraries on Windows. That is on Unix shared libraries and static libraries
-  (object archives) are named respectively:</p>
-
-  <ul>
-    <li><tt>lib*.so</tt></li>
-
-    <li><tt>lib*.a</tt></li>
-  </ul>
-
-  <p>On Windows shared libraries do not have the prefix to differentiate the
-  import libraries from static libraries. Consequently on Windows the
-  libraries are named:</p>
-
-  <table id="Table1" cellspacing="1" cellpadding="1" width="300" border="0">
-    <tr>
-      <td><font face="Courier New">*.dll</font></td>
-
-      <td>Dynamic library version.</td>
-    </tr>
-
-    <tr>
-      <td><font face="Courier New">*.lib</font></td>
-
-      <td>Import library for the dll.</td>
-    </tr>
-
-    <tr>
-      <td><font face="Courier New">lib*.lib</font></td>
-
-      <td>Static library version.</td>
-    </tr>
-  </table><br>
-  <br>
-
-  <h3>Library Name</h3>
-
-  <p>For Boost libraries the name has the "<tt>boost_</tt>" prefix to
-  separate them from other libraries in your system.</p>
-
-  <h3>Toolset</h3>
-
-  <p>The toolset name is an abbreviation based on the compiler you are
-  building with. The abbreviation is composed of a short, 2 to 4 characters,
-  tag for the compiler and a version number of the compiler's major and minor
-  revision (if available). For example if your toolset is
-  "<tt>gcc-3_2_3</tt>" the toolset tag would be "<tt>gcc32</tt>". The toolset
-  abbreviations used are as follows:</p>
-
-  <table cellpadding="5" summary="" border="1">
-    <tr>
-      <td><b>TOOLS Name</b></td>
-
-      <td><b>Abbreviation</b></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/borland-tools.html"><code>borland</code></a></td>
-
-      <td><tt>bcb</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/como-tools.html"><code>como</code></a></td>
-
-      <td><tt>como</tt></td>
-    </tr>
-
-    <tr>
-      <td><code><a href=
-      "../tools/build/v1/como-tools.html">como-win32</a></code></td>
-
-      <td><tt>como</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href="../tools/build/v1/cw-tools.html"><code>cw</code></a></td>
-
-      <td><tt>cw</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/darwin-tools.html"><code>darwin</code></a></td>
-
-      <td><tt>osx</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/dmc-tools.html"><code>dmc</code></a></td>
-
-      <td><tt>dmc</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/dmc-stlport-tools.html"><code>dmc-stlport</code></a></td>
-
-      <td><tt>dmc</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/edg-tools.html"><code>edg</code></a></td>
-
-      <td><tt>edg</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/gcc-tools.html"><code>gcc</code></a></td>
-
-      <td><tt>gcc</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/gcc-stlport-tools.html"><code>gcc-stlport</code></a></td>
-
-      <td><tt>gcc</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/gcc-nocygwin-tools.html"><code>gcc-nocygwin</code></a></td>
-
-      <td><tt>gcc</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/intel-linux-tools.html"><code>intel-linux</code></a></td>
-
-      <td><tt>il</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/intel-win32-tools.html"><code>intel-win32</code></a></td>
-
-      <td><tt>iw</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/kcc-tools.html"><code>kcc</code></a></td>
-
-      <td><tt>kcc</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/kylix-tools.html"><code>kylix</code></a></td>
-
-      <td><tt>bck</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/mingw-tools.html"><code>mingw</code></a></td>
-
-      <td><tt>mgw</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/mingw-stlport-tools.html"><code>mingw-stlport</code></a></td>
-
-      <td><tt>mgw</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/mipspro-tools.html"><code>mipspro</code></a></td>
-
-      <td><tt>mp</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/msvc-tools.html"><code>msvc</code></a></td>
-
-      <td><tt>vc</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/msvc-stlport-tools.html"><code>msvc-stlport</code></a></td>
-
-      <td><tt>vc</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/sunpro-tools.html"><code>sunpro</code></a></td>
-
-      <td><tt>sw</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/tru64cxx-tools.html"><code>tru64cxx</code></a></td>
-
-      <td><tt>tru</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/tru64cxx-tools.html"><code>tru64cxx65</code></a></td>
-
-      <td><tt>tru</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/vacpp-tools.html"><code>vacpp</code></a></td>
-
-      <td><tt>xlc</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/vc7-tools.html"><code>vc7</code></a></td>
-
-      <td><tt>vc</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/vc7-stlport-tools.html"><code>vc7-stlport</code></a></td>
-
-      <td><tt>vc</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/vc-7_1-tools.html"><code>vc-7_1</code></a></td>
-
-      <td><tt>vc</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/vc-7_1-stlport-tools.html"><code>vc-7_1-stlport</code></a></td>
-
-      <td><tt>vc</tt></td>
-    </tr>
-
-    <tr>
-      <td><a href=
-      "../tools/build/v1/vc-8_0-tools.html"><code>vc-8_0</code></a></td>
-
-      <td><tt>vc</tt></td>
-    </tr>
-
-    <tr>
-      <td>Others</td>
-
-      <td>The first part of the toolset name.</td>
-    </tr>
-  </table>
-
-  <h3>Threading</h3>
-
-  <p>This tag indicates if the library is compiled with threading support. If
-  threading is enabled "<tt>-mt</tt>" is added, otherwise nothing is
-  added.</p>
-
-  <h3>Runtime</h3>
-
-  <p>This specifies the type of runtime the library was compiled against, and
-  the type of code that is compiled. More commonly this encodes the ABI
-  variation used in the code. For each feature of the runtime system and code
-  compilation option a single letter is added to this tag.</p>
-
-  <table cellpadding="5" summary="" border="1">
-    <tr>
-      <td><b>Key</b></td>
-
-      <td><b>Feature</b></td>
-    </tr>
-
-    <tr>
-      <td><tt>s</tt></td>
-
-      <td>Static link to runtime.</td>
-    </tr>
-
-    <tr>
-      <td><tt>g</tt></td>
-
-      <td>Debug runtime.</td>
-    </tr>
-
-    <tr>
-      <td><tt>y</tt></td>
-
-      <td>Debug Python system.</td>
-    </tr>
-
-    <tr>
-      <td><tt>d</tt></td>
-
-      <td>Debug enabled code.</td>
-    </tr>
-
-    <tr>
-      <td><tt>p</tt></td>
-
-      <td>STLport runtime, instead of the vendor toolset runtime.</td>
-    </tr>
-
-    <tr>
-      <td><tt>n</tt></td>
-
-      <td>STLport runtime using the "native" IO streams instead of the
-      STLport IO streams.</td>
-    </tr>
-  </table>
-
-  <p>For example if you compile debug code for STLport using native IO
-  streams, and statically link to the debug runtime the tag would be:
-  "<tt>-sgdpn</tt>".</p>
-
-  <h3>Boost Version</h3>
-
-  <p>This is the short label for the version of the Boost Libraries. The
-  major and minor version numbers are taken together separated by an
-  underscore. For example version 1.31.0 would be tagged as "<tt>-1_31</tt>".
-  For patch versions the patch number is also included, for example a version
-  of 1.31.1 would be tagged as "<tt>-1_31_1</tt>".</p>
-
-  <h3>Library Type</h3>
-
-  <p>The extension holds the type of library. This follows the platform
-  requirements. On Windows this is "<tt>.dll</tt>" for shared libraries, and
-  "<tt>.lib</tt>" for static libraries including import libraries. On Unix
-  this is ".a" for static libraries (archives), and ".so" for shared
-  libraries. For toolsets that support it in Unix they will also have a full
-  version extension (for example "<tt>.so.1.31.0</tt>") with a symbolic link
-  for the un-versioned library.</p>
-
-  <h2><a name="auto-link"></a>Automatic Linking on Windows</h2>
-
-  <p>For most Boost libraries that have separate source, the correct build
-  variant is linked against automatically when you include one of that
-  library's header files.&nbsp; For this feature to work, your compiler must
-  support the <code>#pragma comment(lib, name)</code> feature (Microsoft
-  Visual C++, Intel C++, Metrowerks C++ , and Borland C++ all support
-  this).</p>
-
-  <p>If you are linking to a dynamic runtime, then you can choose to link to
-  either a static or a dynamic Boost library, the default is to do a static
-  link.&nbsp; You can alter this for a specific library <em>whatever</em> by
-  defining BOOST_WHATEVER_DYN_LINK to force Boost library <em>whatever</em>
-  to be linked dynamically.&nbsp; Alternatively you can force all Boost
-  libraries to dynamic link by defining BOOST_ALL_DYN_LINK.</p>
-
-  <p>This feature can be disabled for Boost library <em>whatever</em> by
-  defining BOOST_WHATEVER_NO_LIB, or for all of Boost by defining
-  BOOST_ALL_NO_LIB.</p>
-
-  <p>If you want to observe which libraries are being linked against then
-  defining BOOST_LIB_DIAGNOSTIC will cause the auto-linking code to emit a
-  <code>#pragma message</code> each time a library is selected for
-  linking.</p>
-
-  <p>There are some Boost libraries (<a href=
-  "../libs/test/doc/index.html">Boost.Test</a> is one one special case),
-  where automatic linking is not supported for technical reasons: please
-  consult the documentation for each of the libraries you are using for more
-  information, and the <a href="../libs/config/index.html">Boost.Config</a>
-  documentation for more information on configuration macros.&nbsp; The
-  following table shows the current supported configurations, (Boost
-  libraries not listed here consist of headers only):</p>
-
-  <table id="Table2" cellspacing="1" cellpadding="1" width="100%" border="1">
-    <tr>
-      <td><strong>Library</strong></td>
-
-      <td><strong>Static Link</strong></td>
-
-      <td><strong>Dynamic Link</strong></td>
-
-      <td><strong>Default linkage</strong></td>
-
-      <td><strong>Automatic library selection</strong></td>
-
-      <td><strong>Comments</strong></td>
-    </tr>
-
-    <tr>
-      <td>Date-Time</td>
-
-      <td>Yes</td>
-
-      <td>Yes</td>
-
-      <td>static</td>
-
-      <td>Yes</td>
-
-      <td>&nbsp;</td>
-    </tr>
-
-    <tr>
-      <td>Filesystem</td>
-
-      <td>Yes</td>
-
-      <td>
-        <p>Yes</p>
-      </td>
-
-      <td>static</td>
-
-      <td>Yes</td>
-
-      <td>&nbsp;</td>
-    </tr>
-
-    <tr>
-      <td>Graph</td>
-
-      <td>Yes</td>
-
-      <td>No</td>
-
-      <td>static</td>
-
-      <td>No</td>
-
-      <td>The separate Graph library source is needed only when <a href=
-      "../libs/graph/doc/read_graphviz.html">reading an AT&amp;T graphviz
-      file.</a></td>
-    </tr>
-
-    <tr>
-      <td>Iostreams</td>
-
-      <td>Yes</td>
-
-      <td>
-        <p>Yes</p>
-      </td>
-
-      <td>static</td>
-
-      <td>Yes</td>
-
-      <td>&nbsp;</td>
-    </tr>
-
-    <tr>
-      <td>Program Options</td>
-
-      <td>Yes</td>
-
-      <td>Yes</td>
-
-      <td>static</td>
-
-      <td>Yes</td>
-
-      <td>&nbsp;</td>
-    </tr>
-
-    <tr>
-      <td>Python</td>
-
-      <td>Yes</td>
-
-      <td>Yes</td>
-
-      <td>dynamic</td>
-
-      <td>No</td>
-
-      <td>Since all Python extensions are DLL's it makes sense to dynamic
-      link to the Boost Python library&nbsp;by default (static linking is
-      only really an option if you are embedding python).</td>
-    </tr>
-
-    <tr>
-      <td>Regex</td>
-
-      <td>Yes</td>
-
-      <td>Yes</td>
-
-      <td>static</td>
-
-      <td>Yes</td>
-
-      <td>&nbsp;</td>
-    </tr>
-
-    <tr>
-      <td>Serialization</td>
-
-      <td>Yes</td>
-
-      <td>Yes</td>
-
-      <td>static</td>
-
-      <td>Yes</td>
-
-      <td>&nbsp;</td>
-    </tr>
-
-    <tr>
-      <td>Signals</td>
-
-      <td>Yes</td>
-
-      <td>Yes</td>
-
-      <td>static</td>
-
-      <td>Yes</td>
-
-      <td>&nbsp;</td>
-    </tr>
-
-    <tr>
-      <td>Test</td>
-
-      <td>Yes</td>
-
-      <td>No</td>
-
-      <td>static</td>
-
-      <td>No</td>
-
-      <td>Which library you link to depends upon which program entry point
-      you define, rather than which Boost.Test features you use.</td>
-    </tr>
-
-    <tr>
-      <td>Thread</td>
-
-      <td>Partial</td>
-
-      <td>Yes</td>
-
-      <td>static (Visual C++), otherwise dynamic</td>
-
-      <td>Yes</td>
-
-      <td>For technical reasons static linking is supported on only one
-      Windows compiler (Visual C++).</td>
-    </tr>
-
-    <tr>
-      <td>Wave</td>
-
-      <td>Yes</td>
-
-      <td>Yes</td>
-
-      <td>static</td>
-
-      <td>Yes</td>
-
-      <td>&nbsp;</td>
-    </tr>
-  </table><br>
-  <br>
-
-  <h2><a id="Additional_Steps" name="Additional_Steps"></a>Additional
-  Steps</h2>
-
-  <p>Depending on your platform and configuration you may need to perform
-  some additional configuration to get Boost to build and install.</p>
-
-  <ul>
-    <li><a href="../libs/config/config.htm#configuring">Configure the boost
-    source code</a>. This step should not be required on the vast majority of
-    platforms, but if you're trying to build Boost on an untested or
-    unsupported platform it may be necessary.<br>
-    <br></li>
-
-    <li>If Boost.Build has problems detecting your Python installation it
-    will print a short messages about how to configure for finding the Python
-    installation. For more information, see these detailed <a href=
-    "../libs/python/doc/building.html#building">instructions</a>.</li>
-  </ul>
-  <hr>
-
-  <p>Revised $Date$</p>
-
-  <p>Copyright &copy; Rene Rivera 2003.<br>
-  Copyright &copy; Jens Maurer 2001.<br>
-  Copyright &copy; John Maddock 2004.</p>
-
-  <p><small>Distributed under the Boost Software License, Version 1.0. (See
-  accompanying file <a href="../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or copy
-  at <a href=
-  "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
+<body>
+<div class="document" id="getting-started-with-boost-logo">
+<h1 class="title">Getting Started With Boost  <a class="reference" href="../index.htm"><img alt="Boost" src="../boost.png" /></a></h1>
+
+<p>This guide will help you get started using the Boost libraries.
+Have fun!</p>
+<div class="contents topic">
+<p class="topic-title first"><a id="index" name="index">Index</a></p>
+<ul class="auto-toc simple">
+<li><a class="reference" href="#getting-boost" id="id20" name="id20">1&nbsp;&nbsp;&nbsp;Getting Boost</a></li>
+<li><a class="reference" href="#the-structure-of-a-boost-distribution" id="id21" name="id21">2&nbsp;&nbsp;&nbsp;The Structure of a Boost Distribution</a></li>
+<li><a class="reference" href="#building-a-simple-boost-program" id="id22" name="id22">3&nbsp;&nbsp;&nbsp;Building a Simple Boost Program</a><ul class="auto-toc">
+<li><a class="reference" href="#nix-e-g-unix-linux-macos-cygwin" id="id23" name="id23">3.1&nbsp;&nbsp;&nbsp;*nix (e.g. Unix, Linux, MacOS, Cygwin)</a></li>
+<li><a class="reference" href="#microsoft-windows-command-line-using-visual-c" id="id24" name="id24">3.2&nbsp;&nbsp;&nbsp;Microsoft Windows Command-Line using Visual C++</a></li>
+<li><a class="reference" href="#visual-studio-net-2003-or-visual-studio-2005" id="id25" name="id25">3.3&nbsp;&nbsp;&nbsp;Visual Studio .NET 2003 or Visual Studio 2005</a></li>
+<li><a class="reference" href="#other-compilers-environments" id="id26" name="id26">3.4&nbsp;&nbsp;&nbsp;Other Compilers/Environments</a></li>
+</ul>
+</li>
+<li><a class="reference" href="#getting-boost-library-binaries" id="id27" name="id27">4&nbsp;&nbsp;&nbsp;Getting Boost Library Binaries</a><ul class="auto-toc">
+<li><a class="reference" href="#microsoft-visual-c-8-0-or-7-1-visual-studio-2005-net-2003-binaries" id="id28" name="id28">4.1&nbsp;&nbsp;&nbsp;Microsoft Visual C++ 8.0 or 7.1 (Visual Studio 2005/.NET 2003) Binaries</a></li>
+<li><a class="reference" href="#nix-e-g-unix-linux-macos-cygwin-binaries" id="id29" name="id29">4.2&nbsp;&nbsp;&nbsp;*nix (e.g. Unix, Linux, MacOS, Cygwin) Binaries</a></li>
+<li><a class="reference" href="#id7" id="id30" name="id30">4.3&nbsp;&nbsp;&nbsp;Other Compilers/Environments</a></li>
+<li><a class="reference" href="#building-boost-binaries-with-boost-build" id="id31" name="id31">4.4&nbsp;&nbsp;&nbsp;Building Boost Binaries with Boost.Build</a><ul class="auto-toc">
+<li><a class="reference" href="#getting-bjam" id="id32" name="id32">4.4.1&nbsp;&nbsp;&nbsp;Getting <tt class="docutils literal"><span class="pre">bjam</span></tt></a></li>
+<li><a class="reference" href="#identify-your-toolset" id="id33" name="id33">4.4.2&nbsp;&nbsp;&nbsp;Identify Your Toolset</a></li>
+<li><a class="reference" href="#select-a-build-directory" id="id34" name="id34">4.4.3&nbsp;&nbsp;&nbsp;Select a Build Directory</a></li>
+<li><a class="reference" href="#invoke-bjam" id="id35" name="id35">4.4.4&nbsp;&nbsp;&nbsp;Invoke <tt class="docutils literal"><span class="pre">bjam</span></tt></a></li>
+<li><a class="reference" href="#stage" id="id36" name="id36">4.4.5&nbsp;&nbsp;&nbsp;<tt class="docutils literal"><span class="pre">stage</span></tt></a></li>
+<li><a class="reference" href="#select-a-prefix-directory" id="id37" name="id37">4.4.6&nbsp;&nbsp;&nbsp;Select a Prefix Directory</a></li>
+</ul>
+</li>
+</ul>
+</li>
+<li><a class="reference" href="#linking-a-program-with-a-boost-library" id="id38" name="id38">5&nbsp;&nbsp;&nbsp;Linking A Program with a Boost Library</a><ul class="auto-toc">
+<li><a class="reference" href="#microsoft-windows" id="id39" name="id39">5.1&nbsp;&nbsp;&nbsp;Microsoft Windows</a><ul class="auto-toc">
+<li><a class="reference" href="#visual-c-command-line" id="id40" name="id40">5.1.1&nbsp;&nbsp;&nbsp;Visual C++ Command Line</a></li>
+<li><a class="reference" href="#visual-studio-ide" id="id41" name="id41">5.1.2&nbsp;&nbsp;&nbsp;Visual Studio IDE</a></li>
+</ul>
+</li>
+<li><a class="reference" href="#id13" id="id42" name="id42">5.2&nbsp;&nbsp;&nbsp;*nix (e.g. Unix, Linux, MacOS, Cygwin)</a></li>
+<li><a class="reference" href="#library-naming" id="id43" name="id43">5.3&nbsp;&nbsp;&nbsp;Library Naming</a></li>
+</ul>
+</li>
+</ul>
+</div>
+<!-- ## Update this substitution for each release -->
+<div class="section">
+<h1><a class="toc-backref" href="#id20" id="getting-boost" name="getting-boost">1&nbsp;&nbsp;&nbsp;Getting Boost</a></h1>
+<p>There are basically three ways to get Boost on your system:</p>
+<ol class="arabic simple">
+<li>Download and run the <a class="reference" href="http://www.boost-consulting.com/download.html">Windows installer</a> supplied by Boost
+Consulting (not available for Boost alpha/beta releases).</li>
+</ol>
+<!-- ## remove the parenthesized note for full releases -->
+<ol class="arabic simple" start="2">
+<li>or, <a class="reference" href="http://sourceforge.net/project/showfiles.php?group_id=7586&amp;package_id=8041&amp;release_id=376197">download a complete Boost distribution</a> from SourceForge.</li>
+</ol>
+<!-- ## Update this link for each release -->
+<blockquote>
+<table class="docutils field-list" frame="void" rules="none">
+<col class="field-name" />
+<col class="field-body" />
+<tbody valign="top">
+<tr class="field"><th class="field-name">Windows users:</th><td class="field-body"><p class="first"><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt><tt class="docutils literal"><span class="pre">.exe</span></tt> is a program you can
+run to unpack the distribution; if you prefer not to download
+executable programs, get <tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt><tt class="docutils literal"><span class="pre">.zip</span></tt> and use an
+external tool to decompress it.  We don't recommend using
+Windows' built-in decompression as it can be painfully slow
+for large archives.</p>
+</td>
+</tr>
+<tr class="field"><th class="field-name">*nix users:</th><td class="field-body"><p class="first">Download <tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt><tt class="docutils literal"><span class="pre">.tar.bz2</span></tt>, then, in the
+directory where you want to put the Boost installation,
+execute</p>
+<pre class="last literal-block">
+tar --bzip2 -xf <em>/path/to/</em><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt>.tar.bz2
+</pre>
+</td>
+</tr>
+</tbody>
+</table>
+</blockquote>
+<ol class="arabic simple" start="3">
+<li>or use a Boost package from RedHat, Debian, or some other
+distribution packager.  These instructions may not work for you
+if you use this method, because other packagers sometimes choose
+to break Boost up into several packages or to reorganize the
+directory structure of the Boost distribution.<a class="footnote-reference" href="#packagers" id="id3" name="id3"><sup>1</sup></a></li>
+</ol>
+</div>
+<div class="section">
+<h1><a class="toc-backref" href="#id21" id="the-structure-of-a-boost-distribution" name="the-structure-of-a-boost-distribution">2&nbsp;&nbsp;&nbsp;The Structure of a Boost Distribution</a></h1>
+<p>This is is a sketch of the directory structure you'll get when you
+unpack your Boost installation (windows users replace forward
+slashes with backslashes):</p>
+<pre class="literal-block">
+<strong>boost_1_34_0/</strong> .................<em>The “boost root directory”</em>
+   <strong>index.html</strong> ....................<em>A copy of www.boost.org</em>
+   <strong>boost/</strong> .........................<em>All Boost Header files</em>
+   <strong>libs/</strong> ............<em>Tests, .cpp</em>s<em>, docs, etc., by library</em><a class="footnote-reference" href="#installer-src" id="id4" name="id4"><sup>2</sup></a>
+     <strong>index.html</strong> ........<em>Library documentation starts here</em>
+     <strong>algorithm/</strong>
+     <strong>any/</strong>
+     <strong>array/</strong>
+                     <em>…more libraries…</em>
+   <strong>status/</strong> .........................<em>Boost-wide test suite</em>
+   <strong>tools/</strong> ...........<em>Utilities, e.g. bjam, quickbook, bcp</em>
+   <strong>more/</strong> ..........................<em>Policy documents, etc.</em>
+   <strong>doc/</strong> ...............<em>A subset of all Boost library docs</em>
+</pre>
+<div class="sidebar">
+<p class="first sidebar-title">Header Organization</p>
+<p>The organization of Boost library headers isn't entirely uniform,
+but most libraries follow a few patterns:</p>
+<ul class="last simple">
+<li>Some older libraries and most very small libraries place all
+public headers directly into <tt class="docutils literal"><span class="pre">boost/</span></tt>.</li>
+<li>Most libraries' public headers live in a subdirectory of
+<tt class="docutils literal"><span class="pre">boost/</span></tt> named after the library.  For example, you'll find
+the Type Traits Library's <tt class="docutils literal"><span class="pre">is_void.hpp</span></tt> header in
+<tt class="docutils literal"><span class="pre">boost/type_traits/is_void.hpp</span></tt>.</li>
+<li>Some libraries have an “aggregate header” in <tt class="docutils literal"><span class="pre">boost/</span></tt> that
+<tt class="docutils literal"><span class="pre">#include</span></tt>s all of the library's other headers.  For
+example, Boost.Python's aggregate header is
+<tt class="docutils literal"><span class="pre">boost/python.hpp</span></tt>.</li>
+<li>Most libraries place private headers in a subdirectory called
+<tt class="docutils literal"><span class="pre">detail/</span></tt> or <tt class="docutils literal"><span class="pre">aux_/</span></tt>.  Don't look in these directories and
+expect to find anything you can use.</li>
+</ul>
+</div>
+<p>A few things are worth noting right off the bat:</p>
+<ol class="arabic">
+<li><p class="first">The path to the “boost root directory” is sometimes referred to
+as <tt class="docutils literal"><span class="pre">$BOOST_ROOT</span></tt> in documentation and mailing lists.  If you
+used the Windows installer, that will usually be <tt class="docutils literal"><span class="pre">C:\Program</span> <span class="pre">Files\boost\</span></tt><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt>.</p>
+</li>
+<li><p class="first">To compile anything in Boost, you need a directory containing
+the <tt class="docutils literal"><span class="pre">boost/</span></tt> subdirectory in your <tt class="docutils literal"><span class="pre">#include</span></tt> path.  For most
+compilers, that means adding</p>
+<pre class="literal-block">
+-I<tt class="docutils literal"><span class="pre">/</span></tt><em>path</em><tt class="docutils literal"><span class="pre">/</span></tt><em>to</em><tt class="docutils literal"><span class="pre">/</span></tt><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt>
+</pre>
+<p>to the command line.  Specific steps for setting up <tt class="docutils literal"><span class="pre">#include</span></tt>
+paths in Microsoft Visual Studio follow later in this document;
+if you use another IDE, please consult your product's
+documentation for instructions.</p>
+</li>
+<li><p class="first">Since all of Boost's header files have the <tt class="docutils literal"><span class="pre">.hpp</span></tt> extension,
+and live in the <tt class="docutils literal"><span class="pre">boost/</span></tt> subdirectory of the boost root, your
+Boost <tt class="docutils literal"><span class="pre">#include</span></tt> directives will look like:</p>
+<pre class="literal-block">
+#include &lt;boost/<em>whatever</em>.hpp&gt;
+</pre>
+<p>or</p>
+<pre class="literal-block">
+#include &quot;boost/<em>whatever</em>.hpp&quot;
+</pre>
+</li>
+</ol>
+<blockquote>
+depending on your religion as regards the use of angle bracket
+includes.  Even Windows users can use forward slashes in
+<tt class="docutils literal"><span class="pre">#include</span></tt> directives; your compiler doesn't care.</blockquote>
+<ol class="arabic simple" start="4">
+<li>Don't be distracted by the <tt class="docutils literal"><span class="pre">doc/</span></tt> subdirectory; it only
+contains a subset of the Boost documentation.  Start with
+<tt class="docutils literal"><span class="pre">libs/index.html</span></tt> if you're looking for the whole enchilada.</li>
+</ol>
+</div>
+<div class="section">
+<h1><a class="toc-backref" href="#id22" id="building-a-simple-boost-program" name="building-a-simple-boost-program">3&nbsp;&nbsp;&nbsp;Building a Simple Boost Program</a></h1>
+<p>The first thing many people want to know is, “how do I build
+Boost?”  The good news is that often, there's nothing to build.</p>
+<div class="admonition-header-only-libraries admonition">
+<p class="first admonition-title">Header-Only Libraries</p>
+<p>Nearly all Boost libraries are <strong>header-only</strong>.  That is, most
+consist entirely of header files containing templates and inline
+functions, and require no separately-compiled library binaries
+or special treatment when linking.</p>
+<p>The only Boost libraries that are <em>not</em> header-only are:</p>
+<ul class="simple">
+<li>Boost.Filesystem</li>
+<li>Boost.IOStreams</li>
+<li>Boost.ProgramOptions</li>
+<li>Boost.Python</li>
+<li>Boost.Regex</li>
+<li>Boost.Serialization</li>
+<li>Boost.Signals</li>
+<li>Boost.Test</li>
+<li>Boost.Thread</li>
+<li>Boost.Wave</li>
+</ul>
+<p class="last">The DateTime library has a separately-compiled
+binary which is only needed if you're using a “legacy
+compiler”(such as?).  The Graph library has a
+separately-compiled binary, but you won't need it unless you
+intend to <a class="reference" href="../libs/graph/doc/read_graphviz.html">parse GraphViz files</a>.</p>
+</div>
+<!-- ## Keep the list of non-header-only libraries up-to-date -->
+<p>The following program reads a sequence of integers from standard
+input, uses Boost.Lambda (a header-only library) to multiply each
+one by three, and writes them to standard output:</p>
+<pre class="literal-block">
+#include &lt;boost/lambda/lambda.hpp&gt;
+#include &lt;iostream&gt;
+#include &lt;iterator&gt;
+#include &lt;algorithm&gt;
+
+int main()
+{
+    using namespace boost::lambda;
+    typedef std::istream_iterator&lt;int&gt; in;
+
+    std::for_each(
+        in(std::cin), in(), std::cout &lt;&lt; (_1 * 3) &lt;&lt; &quot; &quot; );
+}
+</pre>
+<p>Start by copying the text of this program into a file called
+<tt class="docutils literal"><span class="pre">example.cpp</span></tt>.</p>
+<div class="section">
+<h2><a class="toc-backref" href="#id23" id="nix-e-g-unix-linux-macos-cygwin" name="nix-e-g-unix-linux-macos-cygwin"><span id="nix-header-only"></span>3.1&nbsp;&nbsp;&nbsp;*nix (e.g. Unix, Linux, MacOS, Cygwin)</a></h2>
+<p>Simply issue the following command (<tt class="docutils literal"><span class="pre">$</span></tt> represents the
+prompt issued by the shell, so don't type that):</p>
+<pre class="literal-block">
+<strong>$</strong> c++ -I <tt class="docutils literal"><span class="pre">/</span></tt><em>path</em><tt class="docutils literal"><span class="pre">/</span></tt><em>to</em><tt class="docutils literal"><span class="pre">/</span></tt><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt> example.cpp -o example
+</pre>
+<p>To test the result, type:</p>
+<pre class="literal-block">
+<strong>$</strong> echo 1 2 3 | ./example
+</pre>
+</div>
+<div class="section">
+<h2><a class="toc-backref" href="#id24" id="microsoft-windows-command-line-using-visual-c" name="microsoft-windows-command-line-using-visual-c">3.2&nbsp;&nbsp;&nbsp;Microsoft Windows Command-Line using Visual C++</a></h2>
+<p>From your computer's <em>Start</em> menu, select if you are a Visual
+Studio 2005 user, select</p>
+<blockquote>
+<em>All Programs</em> &gt; <em>Microsoft Visual Studio 2005</em>
+&gt; <em>Visual Studio Tools</em> &gt; <em>Visual Studio 2005 Command Prompt</em></blockquote>
+<p>or if you're a Visual Studio .NET 2003 user, select</p>
+<blockquote>
+<em>All Programs</em> &gt; <em>Microsoft Visual Studio .NET 2003</em>
+&gt; <em>Visual Studio .NET Tools</em> &gt; <em>Visual Studio .NET 2003 Command Prompt</em></blockquote>
+<p>to bring up a special command prompt window set up for the Visual
+Studio compiler.  In that window, type the following command and
+hit the return key (<tt class="docutils literal"><span class="pre">C:\PROMPT&gt;</span></tt> represents the prompt issued by
+the shell, so don't type that):</p>
+<pre class="literal-block">
+<strong>C:PROMPT&gt;</strong> cl /EHsc /I <em>C:</em><tt class="docutils literal"><span class="pre">\</span></tt><em>path</em><tt class="docutils literal"><span class="pre">\</span></tt><em>to</em><tt class="docutils literal"><span class="pre">\</span></tt><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt> example.cpp
+</pre>
+<p>To test the result, type:</p>
+<pre class="literal-block">
+<strong>C:PROMPT&gt;</strong> echo 1 2 3 | example
+</pre>
+</div>
+<div class="section">
+<h2><a class="toc-backref" href="#id25" id="visual-studio-net-2003-or-visual-studio-2005" name="visual-studio-net-2003-or-visual-studio-2005"><span id="vs-header-only"></span>3.3&nbsp;&nbsp;&nbsp;Visual Studio .NET 2003 or Visual Studio 2005</a></h2>
+<ul class="simple">
+<li>From Visual Studio's <em>File</em> menu, select <em>New</em> &gt; <em>Project…</em></li>
+<li>In the left-hand pane of the resulting <em>New Project</em> dialog,
+select <em>Visual C++</em> &gt; <em>Win32</em>.</li>
+<li>In the right-hand pane, select <em>Win32 Console Application</em>
+(VS8.0) or <em>Win32 Console Project</em> (VS7.1).</li>
+<li>In the <em>name</em> field, enter “example”</li>
+<li>Right-click <strong>example</strong> in the <em>Solution Explorer</em> pane and
+select <em>Properties</em> from the resulting pop-up menu</li>
+<li>In <em>Configuration Properties</em> &gt; <em>C/C++</em> &gt; <em>General</em> &gt; <em>Additional Include
+Directories</em>, enter the path to the Boost root directory, e.g.
+<tt class="docutils literal"><span class="pre">C:\Program</span> <span class="pre">Files\boost\</span></tt><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt>.</li>
+<li>In <em>Configuration Properties</em> &gt; <em>C/C++</em> &gt; <em>Precompiled Headers</em>, change
+<em>Use Precompiled Header (/Yu)</em> to <em>Not Using Precompiled
+Headers</em>.<a class="footnote-reference" href="#pch" id="id6" name="id6"><sup>3</sup></a></li>
+<li>Replace the contents of the <tt class="docutils literal"><span class="pre">example.cpp</span></tt> generated by the IDE
+with the example code above.</li>
+<li>From the <em>Build</em> menu, select <em>Build Solution</em>.</li>
+</ul>
+<p>To test your application, hit the F5 key and type the following
+into the resulting window, followed by the return key:</p>
+<pre class="literal-block">
+1 2 3
+</pre>
+<p>Then hold down the control key and press &quot;Z&quot;, followed by the
+return key.</p>
+</div>
+<div class="section">
+<h2><a class="toc-backref" href="#id26" id="other-compilers-environments" name="other-compilers-environments">3.4&nbsp;&nbsp;&nbsp;Other Compilers/Environments</a></h2>
+<p>Consult your vendor's documentation; if you have trouble adapting
+these instructions to your build environment, request assistance on
+the <a class="reference" href="mailing_lists.htm#users">Boost Users' mailing list</a>.</p>
+</div>
+</div>
+<div class="section">
+<h1><a class="toc-backref" href="#id27" id="getting-boost-library-binaries" name="getting-boost-library-binaries">4&nbsp;&nbsp;&nbsp;Getting Boost Library Binaries</a></h1>
+<p>If you want to use any of the separately-compiled Boost libraries,
+you'll need to get ahold of library binaries.</p>
+<div class="section">
+<h2><a class="toc-backref" href="#id28" id="microsoft-visual-c-8-0-or-7-1-visual-studio-2005-net-2003-binaries" name="microsoft-visual-c-8-0-or-7-1-visual-studio-2005-net-2003-binaries">4.1&nbsp;&nbsp;&nbsp;Microsoft Visual C++ 8.0 or 7.1 (Visual Studio 2005/.NET 2003) Binaries</a></h2>
+<p>The <a class="reference" href="http://www.boost-consulting.com/download.html">Windows installer</a> supplied by Boost Consulting will download
+and install pre-compiled binaries into the <tt class="docutils literal"><span class="pre">lib\</span></tt> subdirectory of
+the boost root, typically <tt class="docutils literal"><span class="pre">C:\Program</span> <span class="pre">Files\boost\</span></tt><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt><tt class="docutils literal"><span class="pre">\lib\</span></tt>.</p>
+</div>
+<div class="section">
+<h2><a class="toc-backref" href="#id29" id="nix-e-g-unix-linux-macos-cygwin-binaries" name="nix-e-g-unix-linux-macos-cygwin-binaries">4.2&nbsp;&nbsp;&nbsp;*nix (e.g. Unix, Linux, MacOS, Cygwin) Binaries</a></h2>
+<p>Issue the following commands in the shell (again, <tt class="docutils literal"><span class="pre">$</span></tt> represents
+the shell's prompt):</p>
+<pre class="literal-block">
+<strong>$</strong> cd <tt class="docutils literal"><span class="pre">/</span></tt><em>path</em><tt class="docutils literal"><span class="pre">/</span></tt><em>to</em><tt class="docutils literal"><span class="pre">/</span></tt><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt>
+<strong>$</strong> ./configure --help
+</pre>
+<p>Select your configuration options and invoke <tt class="docutils literal"><span class="pre">./configure</span></tt> again.
+Unless you have write permission in your system's <tt class="docutils literal"><span class="pre">/usr/local/</span></tt>
+directory, you'll probably want to at least use</p>
+<pre class="literal-block">
+<strong>$</strong> ./configure <strong>--prefix=</strong><em>path</em>/<em>to</em>/<em>installation</em>/<em>prefix</em>
+</pre>
+<p>to install somewhere else.  Finally,</p>
+<pre class="literal-block">
+<strong>$</strong> make install
+</pre>
+<p>which will leave Boost binaries in the <tt class="docutils literal"><span class="pre">lib/</span></tt> subdirectory of
+your installation prefix.  You will also find a copy of the Boost
+headers in the <tt class="docutils literal"><span class="pre">include/</span></tt> subdirectory of the installation
+prefix, so you can henceforth use that directory as an <tt class="docutils literal"><span class="pre">#include</span></tt>
+path in place of the Boost root directory.</p>
+</div>
+<div class="section">
+<h2><a class="toc-backref" href="#id30" id="id7" name="id7">4.3&nbsp;&nbsp;&nbsp;Other Compilers/Environments</a></h2>
+<p>If you're not using Visual C++ 7.1 or 8.0, or you're a *nix user
+who wants want to build with a toolset other than your system's
+default, or if you want a nonstandard variant build of Boost
+(e.g. optimized, but with debug symbols), you'll need to use
+<a class="reference" href="../tools/build/index.html">Boost.Build</a> to create your own binaries.</p>
+</div>
+<div class="section">
+<h2><a id="building-boost-binaries-with-boost-build" name="building-boost-binaries-with-boost-build">4.4&nbsp;&nbsp;&nbsp;Building Boost Binaries with <a class="reference" href="../tools/build/index.html">Boost.Build</a></a></h2>
+<p>Like an IDE, <a class="reference" href="../tools/build/index.html">Boost.Build</a> is a system for developing, testing, and
+installing software.  Instead of using a GUI, though, <a class="reference" href="../tools/build/index.html">Boost.Build</a>
+is text-based, like <tt class="docutils literal"><span class="pre">make</span></tt>.  <a class="reference" href="../tools/build/index.html">Boost.Build</a> is written in the
+interpreted <a class="reference" href="../tools/jam/index.html">Boost.Jam</a> language.</p>
+<p>To use <a class="reference" href="../tools/build/index.html">Boost.Build</a>, you'll need an executable called <tt class="docutils literal"><span class="pre">bjam</span></tt>, the
+<a class="reference" href="../tools/jam/index.html">Boost.Jam</a> interpreter.</p>
+<!-- nosidebar .. sidebar:: Using Boost.Build for your own project
+
+When you use Boost.Build to build your *own* project, you don't
+need a separate step to create Boost binaries: you simply refer
+to the boost library targets from your Jamfile and the are built
+automatically (refer to the `Boost.Build documentation`_ for
+detailed instructions).  Here, we're assuming you're using a
+different build system for your own code, so you need to
+explicitly generate Boost binaries.  We're also assuming that
+you have a complete Boost distribution somewhere. -->
+<div class="section">
+<h3><a class="toc-backref" href="#id32" id="getting-bjam" name="getting-bjam">4.4.1&nbsp;&nbsp;&nbsp;Getting <tt class="docutils literal"><span class="pre">bjam</span></tt></a></h3>
+<div class="sidebar">
+<p class="first sidebar-title">Using command-line tools in Windows</p>
+<p>In Windows, a command-line tool is invoked by typing its name,
+optionally followed by arguments, into a <em>Command Prompt</em> window
+and pressing the Return (or Enter) key.</p>
+<p>To open <em>Command Prompt</em>, click the <em>Start</em> menu button, click
+<em>Run</em>, type “cmd”, and then click OK.</p>
+<p>All commands are executed within the context of a <strong>current
+directory</strong> in the filesystem.  To set the current directory,
+type:</p>
+<pre class="literal-block">
+cd <em>path</em>\<em>to</em>\<em>some</em>\<em>directory</em>
+</pre>
+<p>followed by Return.  For example,</p>
+<pre class="literal-block">
+cd <tt class="docutils literal"><span class="pre">C:\Program</span> <span class="pre">Files\boost\</span></tt><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt>
+</pre>
+<p>One way to name a directory you know about is to write</p>
+<pre class="literal-block">
+%HOMEDRIVE%%HOMEPATH%\<em>directory-name</em>
+</pre>
+<p>which indicates a sibling folder of your “My Documents” folder.</p>
+<p class="last">Long commands can be continued across several lines by typing
+backslashes at the ends of all but the last line.  Many of the
+examples on this page use that technique to save horizontal
+space.</p>
+</div>
+<p>Boost provides <a class="reference" href="http://sourceforge.net/project/showfiles.php?group_id=7586&amp;package_id=72941">pre-compiled <tt class="docutils literal"><span class="pre">bjam</span></tt> executables</a> for a variety of platforms.
+Alternatively, you can build <tt class="docutils literal"><span class="pre">bjam</span></tt> yourself using the
+<a class="reference" href="http://www.boost.org/doc/html/jam/building.html">instructions</a> given in the <a class="reference" href="../tools/jam/index.html">Boost.Jam documentation</a>.</p>
+<p><tt class="docutils literal"><span class="pre">bjam</span></tt> is a command-line tool.  To build Boost binaries, you'll
+invoke <tt class="docutils literal"><span class="pre">bjam</span></tt> with the current directory set to the Boost root,
+and with options described in the following sections.</p>
+</div>
+<div class="section">
+<h3><a class="toc-backref" href="#id33" id="identify-your-toolset" name="identify-your-toolset"><span id="toolset-name"></span><span id="toolset"></span>4.4.2&nbsp;&nbsp;&nbsp;Identify Your Toolset</a></h3>
+<p>First, find the toolset corresponding to your compiler in the
+following table.</p>
+<table border="1" class="docutils">
+<colgroup>
+<col width="14%" />
+<col width="35%" />
+<col width="51%" />
+</colgroup>
+<thead valign="bottom">
+<tr><th class="head">Toolset
+Name</th>
+<th class="head">Vendor</th>
+<th class="head">Notes</th>
+</tr>
+</thead>
+<tbody valign="top">
+<tr><td>acc</td>
+<td>Hewlett Packard</td>
+<td>Only very recent versions are
+known to work well with Boost</td>
+</tr>
+<tr><td>borland</td>
+<td>Borland</td>
+<td>&nbsp;</td>
+</tr>
+<tr><td>como</td>
+<td>Comeau Computing</td>
+<td>Using this toolset may
+require <a class="reference" href="../tools/build/index.html">configuring</a> another
+toolset to act as its backend</td>
+</tr>
+<tr><td>cw</td>
+<td>Metrowerks/FreeScale</td>
+<td>The CodeWarrior compiler.  We
+have not tested versions of
+this compiler produced since
+it was sold to FreeScale.</td>
+</tr>
+<tr><td>dmc</td>
+<td>Digital Mars</td>
+<td>As of this Boost release, no
+version of dmc is known to
+handle Boost well.</td>
+</tr>
+<tr><td>gcc</td>
+<td>The Gnu Project</td>
+<td>&nbsp;</td>
+</tr>
+<tr><td>hp_cxx</td>
+<td>Hewlett Packard</td>
+<td>Targeted at the Tru64
+operating system.</td>
+</tr>
+<tr><td>intel</td>
+<td>Intel</td>
+<td>&nbsp;</td>
+</tr>
+<tr><td>kylix</td>
+<td>Borland</td>
+<td>&nbsp;</td>
+</tr>
+<tr><td>msvc</td>
+<td>Microsoft</td>
+<td>&nbsp;</td>
+</tr>
+<tr><td>qcc</td>
+<td>QNX Software Systems</td>
+<td>&nbsp;</td>
+</tr>
+<tr><td>sun</td>
+<td>Sun</td>
+<td>&nbsp;</td>
+</tr>
+<tr><td>vacpp</td>
+<td>IBM</td>
+<td>The VisualAge C++ compiler.</td>
+</tr>
+</tbody>
+</table>
+<p>If you have multiple versions of a particular compiler installed,
+you can apend the version number to the toolset name, preceded by a
+hyphen, e.g. <tt class="docutils literal"><span class="pre">msvc-7.1</span></tt> or <tt class="docutils literal"><span class="pre">gcc-3.4</span></tt>.</p>
+<div class="note">
+<p class="first admonition-title">Note</p>
+<p class="last">if you built <tt class="docutils literal"><span class="pre">bjam</span></tt> yourself, you may
+have selected a toolset name for that purpose, but that does not
+affect this step in any way; you still need to select a Boost.Build
+toolset from the table.</p>
+</div>
+</div>
+<div class="section">
+<h3><a class="toc-backref" href="#id34" id="select-a-build-directory" name="select-a-build-directory"><span id="id10"></span><span id="build-directory"></span>4.4.3&nbsp;&nbsp;&nbsp;Select a Build Directory</a></h3>
+<p><a class="reference" href="../tools/build/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"><span class="pre">bin.v2/</span></tt> subdirectory for that
+purpose in your current working directory.</p>
+</div>
+<div class="section">
+<h3><a class="toc-backref" href="#id35" id="invoke-bjam" name="invoke-bjam">4.4.4&nbsp;&nbsp;&nbsp;Invoke <tt class="docutils literal"><span class="pre">bjam</span></tt></a></h3>
+<p>Change your current directory to the Boost root directory and
+invoke <tt class="docutils literal"><span class="pre">bjam</span></tt> as follows:</p>
+<pre class="literal-block">
+bjam --build-dir=<a class="reference" href="#id10"><em>build-directory</em></a> \
+     --toolset=<a class="reference" href="#toolset-name"><em>toolset-name</em></a> stage
+</pre>
+<p>For example, on Windows, your session might look like:</p>
+<pre class="literal-block">
+C:WINDOWS&gt; cd <tt class="docutils literal"><span class="pre">C:\Program</span> <span class="pre">Files\boost\</span></tt><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt>
+<tt class="docutils literal"><span class="pre">C:\Program</span> <span class="pre">Files\boost\</span></tt><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt>&gt; bjam \
+  <strong>--build-dir=</strong>%HOMEDRIVE%%HOMEPATH%\build-boost  \
+  <strong>--toolset=msvc stage</strong>
+</pre>
+<div class="note">
+<p class="first admonition-title">Note</p>
+<p class="last"><tt class="docutils literal"><span class="pre">bjam</span></tt> is case-sensitive; it is important that all the
+parts shown in <strong>bold</strong> type above be entirely lower-case.</p>
+</div>
+<p>And on Unix:</p>
+<pre class="literal-block">
+~$ cd ~/<tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt>
+~/<tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt>$ bjam --build-dir=~/build-boost --prefix=~/boost
+</pre>
+<p>In either case, Boost.Build will place the Boost binaries in the
+<tt class="docutils literal"><span class="pre">stage/</span></tt> subdirectory of your <em>build directory</em>.</p>
+</div>
+<div class="section">
+<h3><a class="toc-backref" href="#id36" id="stage" name="stage">4.4.5&nbsp;&nbsp;&nbsp;<tt class="docutils literal"><span class="pre">stage</span></tt></a></h3>
+<p>You already have the Boost headers on your system (in the
+<tt class="docutils literal"><span class="pre">boost/</span></tt> subdirectory of your Boost distribution), so if you
+prefer not to create an additional copy, instead of installing
+Boost you can simply “stage” the Boost binaries, which leaves them
+in the <tt class="docutils literal"><span class="pre">stage/</span></tt> subdirectory of your chosen <a class="reference" href="#build-directory">build directory</a>:</p>
+<pre class="literal-block">
+bjam --build-dir=<a class="reference" href="#id10"><em>build-directory</em></a> \
+     --toolset=<a class="reference" href="#toolset-name"><em>toolset-name</em></a> stage
+</pre>
+</div>
+<div class="section">
+<h3><a class="toc-backref" href="#id37" id="select-a-prefix-directory" name="select-a-prefix-directory"><span id="id11"></span><span id="prefix-directory"></span>4.4.6&nbsp;&nbsp;&nbsp;Select a Prefix Directory</a></h3>
+<p>Choose a <strong>prefix directory</strong>.  The installation process will
+leave you with the following subdirectories of the prefix directory:</p>
+<ul class="simple">
+<li><tt class="docutils literal"><span class="pre">lib</span></tt>, containing the Boost binaries</li>
+<li><tt class="docutils literal"><span class="pre">include/</span></tt><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt>, containing the Boost headers.</li>
+</ul>
+<p>Change your current directory to the Boost root directory and
+invoke <tt class="docutils literal"><span class="pre">bjam</span></tt> as follows:</p>
+<pre class="literal-block">
+bjam --build-dir=<a class="reference" href="#id10"><em>build-directory</em></a> \
+     --toolset=<a class="reference" href="#toolset-name"><em>toolset-name</em></a>      \
+      --prefix=<a class="reference" href="#id11"><em>prefix-directory</em></a> install
+</pre>
+<p>For example, on Windows your session might look like:</p>
+<pre class="literal-block">
+C:WINDOWS&gt; cd <tt class="docutils literal"><span class="pre">C:\Program</span> <span class="pre">Files\boost\</span></tt><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt>
+<tt class="docutils literal"><span class="pre">C:\Program</span> <span class="pre">Files\boost\</span></tt><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt>&gt; bjam \
+    --build-dir=C:\TEMP\build-boost       \
+    --prefix=C:\boost
+</pre>
+<p>And on Unix:</p>
+<pre class="literal-block">
+~$ cd ~/<tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt>
+~/<tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt>$ bjam --build-dir=/tmp/build-boost \
+     --prefix=~/boost
+</pre>
+</div>
+</div>
+</div>
+<div class="section">
+<h1><a class="toc-backref" href="#id38" id="linking-a-program-with-a-boost-library" name="linking-a-program-with-a-boost-library">5&nbsp;&nbsp;&nbsp;Linking A Program with a Boost Library</a></h1>
+<p>To demonstrate linking with a Boost binary library, we'll use the
+following simple program that extracts the subject lines from
+emails.  It uses the <a class="reference" href="../libs/regex">Boost.Regex</a> library, which has a
+separately-compiled binary component.</p>
+<pre class="literal-block">
+#include &lt;boost/regex.hpp&gt;
+#include &lt;iostream&gt;
+#include &lt;string&gt;
+
+int main()
+{
+    std::string line;
+    boost::regex pat( &quot;^Subject: (Re: |Aw: )*(.*)&quot; );
+
+    while (std::cin)
+    {
+        std::getline(std::cin, line);
+        boost::smatch matches;
+        if (boost::regex_match(line, matches, pat))
+            std::cout &lt;&lt; matches[2];
+    }
+}
+</pre>
+<p>There are two main challenges associated with linking:</p>
+<ol class="arabic simple">
+<li>Tool configuration, e.g. choosing command-line options or IDE
+build settings.</li>
+<li>Identifying the library binary, among all the build variants,
+whose compile configuration is compatible with the rest of your
+project.</li>
+</ol>
+<div class="section">
+<h2><a class="toc-backref" href="#id39" id="microsoft-windows" name="microsoft-windows">5.1&nbsp;&nbsp;&nbsp;Microsoft Windows</a></h2>
+<p>Most Windows compilers and linkers have so called “auto-linking
+support,” which is used by many Boost libraries to eliminate the
+second challenge.  Special code in Boost header files detects your
+compiler options and uses that information to encode the name of
+the correct library into your object files; the linker selects the
+library with that name from the directories you've told it to
+search.</p>
+<div class="note">
+<p class="first admonition-title">Note</p>
+<p>As of this writing, a few Boost libraries don't support
+auto-linking:</p>
+<ul class="last simple">
+<li>Boost.Python</li>
+<li>…others?…</li>
+</ul>
+</div>
+<div class="section">
+<h3><a class="toc-backref" href="#id40" id="visual-c-command-line" name="visual-c-command-line">5.1.1&nbsp;&nbsp;&nbsp;Visual C++ Command Line</a></h3>
+<p>For example, we can compile and link the above program from the
+Visual C++ command-line by simply adding the <strong>bold</strong> text below to
+the command line we used earlier, assuming your Boost binaries are
+in <tt class="docutils literal"><span class="pre">C:\Program</span> <span class="pre">Files\boost\</span></tt><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt>:</p>
+<pre class="literal-block">
+C:PROMPT&gt; cl /EHsc /I <em>C:</em><tt class="docutils literal"><span class="pre">\</span></tt><em>path</em><tt class="docutils literal"><span class="pre">\</span></tt><em>to</em><tt class="docutils literal"><span class="pre">\</span></tt><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt> example.cpp <strong>\</strong>
+     <strong>/link /LIBPATH:</strong> <strong>C:\Program Files\boost\</strong><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt>
+</pre>
+<p>To link with a library that doesn't use auto-linking support, you
+need to specify the library name.  For example,</p>
+<pre class="literal-block">
+C:PROMPT&gt; cl /EHsc /I <em>C:</em><tt class="docutils literal"><span class="pre">\</span></tt><em>path</em><tt class="docutils literal"><span class="pre">\</span></tt><em>to</em><tt class="docutils literal"><span class="pre">\</span></tt><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt> example.cpp \
+     /link /LIBPATH: <tt class="docutils literal"><span class="pre">C:\Program</span> <span class="pre">Files\boost\</span></tt><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt> <strong>\</strong>
+     <strong>boost_regex-msvc-7.1-mt-d-1_34.lib</strong>
+</pre>
+<p>See <a class="reference" href="#library-naming">Library Naming</a> for details about how to select the right
+library name.</p>
+</div>
+<div class="section">
+<h3><a class="toc-backref" href="#id41" id="visual-studio-ide" name="visual-studio-ide">5.1.2&nbsp;&nbsp;&nbsp;Visual Studio IDE</a></h3>
+<p>Starting with the <a class="reference" href="#vs-header-only">header-only example project</a> we created
+earlier:</p>
+<ol class="arabic simple">
+<li>Right-click <strong>example</strong> in the <em>Solution Explorer</em> pane and
+select <em>Properties</em> from the resulting pop-up menu</li>
+<li>In <em>Configuration Properties</em> &gt; <em>Linker</em> &gt; <em>Additional Library
+Directories</em>, enter the path to the Boost binaries,
+e.g. <tt class="docutils literal"><span class="pre">C:\Program</span> <span class="pre">Files\boost\</span></tt><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt><tt class="docutils literal"><span class="pre">\lib\</span></tt>.</li>
+<li>From the <em>Build</em> menu, select <em>Build Solution</em>.</li>
+</ol>
+<p>To link with a library that doesn't use auto-linking support,
+before building (step 3 above), you also need to specify the library
+name:</p>
+<ul class="simple">
+<li>In <em>Configuration Properties</em> &gt; <em>Linker</em> &gt; <em>Input</em> &gt;
+<em>Additional Dependencies</em>, enter the name of the binary library
+to link with, e.g. <strong>boost_regex-msvc-7.1-mt-d-1_34.lib</strong>.</li>
+</ul>
+<p>See <a class="reference" href="#library-naming">Library Naming</a> for details about how to select the right
+library name.</p>
+</div>
+</div>
+<div class="section">
+<h2><a class="toc-backref" href="#id42" id="id13" name="id13">5.2&nbsp;&nbsp;&nbsp;*nix (e.g. Unix, Linux, MacOS, Cygwin)</a></h2>
+<p>There are two main ways to link to libraries:</p>
+<ol class="loweralpha">
+<li><p class="first">You can specify the full path to each library:</p>
+<pre class="literal-block">
+$ c++ -I <tt class="docutils literal"><span class="pre">/</span></tt><em>path</em><tt class="docutils literal"><span class="pre">/</span></tt><em>to</em><tt class="docutils literal"><span class="pre">/</span></tt><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt> example.cpp -o example <strong>\</strong>
+   <strong>~/boost/lib/libboost_regex-msvc-7.1-mt-d-1_34.a</strong>
+</pre>
+</li>
+<li><p class="first">You can separately specify a directory to search (with <tt class="docutils literal"><span class="pre">-L</span></tt><em>directory</em>) and a library name to search for (with <tt class="docutils literal"><span class="pre">-l</span></tt><em>library</em>,<a class="footnote-reference" href="#lowercase-l" id="id14" name="id14"><sup>4</sup></a> dropping the filename's leading <tt class="docutils literal"><span class="pre">lib</span></tt> and trailing
+suffix (<tt class="docutils literal"><span class="pre">.a</span></tt> in this case):</p>
+<pre class="literal-block">
+$ c++ -I <tt class="docutils literal"><span class="pre">/</span></tt><em>path</em><tt class="docutils literal"><span class="pre">/</span></tt><em>to</em><tt class="docutils literal"><span class="pre">/</span></tt><tt class="docutils literal"><span class="pre">boost_1_34_0</span></tt> example.cpp -o example <strong>\</strong>
+   <strong>-L~/boost/lib/ -lboost_regex-msvc-7.1-mt-d-1_34</strong>
+</pre>
+<p>As you can see, this method is just as terse as method a. for
+one library; it <em>really</em> pays off when you're using multiple
+libraries from the same directory.</p>
+</li>
+</ol>
+<p>In both cases above, the bold text is what you'd add to <a class="reference" href="*nix-header-only_">the
+command lines we explored earlier</a>.</p>
+</div>
+<div class="section">
+<h2><a class="toc-backref" href="#id43" id="library-naming" name="library-naming">5.3&nbsp;&nbsp;&nbsp;Library Naming</a></h2>
+<p>In order to choose the right library binary to link with, you'll
+need to know something about how Boost libraries are named.  Each
+library binary filename is composed of a common sequence of
+elements that describe how it was built.  For example,
+<tt class="docutils literal"><span class="pre">libboost_regex-msvc-7.1-mt-d-1_34.lib</span></tt> can be broken down into the
+following elements:</p>
+<dl class="docutils">
+<dt><tt class="docutils literal"><span class="pre">lib</span></tt></dt>
+<dd><em>Prefix</em>: except on Microsoft Windows, every Boost library
+name begins with this string.  On Windows, only ordinary static
+libraries use the <tt class="docutils literal"><span class="pre">lib</span></tt> prefix; import libraries and DLLs do
+not.<a class="footnote-reference" href="#distinct" id="id16" name="id16"><sup>5</sup></a></dd>
+<dt><tt class="docutils literal"><span class="pre">boost_regex</span></tt></dt>
+<dd><em>Library name</em>: all boost library filenames begin with <tt class="docutils literal"><span class="pre">boost_</span></tt>.</dd>
+<dt><tt class="docutils literal"><span class="pre">-msvc-7.1</span></tt></dt>
+<dd><em>Toolset tag</em>: one of the <a class="reference" href="#toolset-name">Boost.Build toolset names</a>,
+possibly followed by a dash and a version number.</dd>
+<dt><tt class="docutils literal"><span class="pre">-mt</span></tt></dt>
+<dd><em>Threading tag</em>: indicates that the library was
+built with multithreading support enabled.  Libraries built
+without multithreading support can be identified by the absence
+of <tt class="docutils literal"><span class="pre">-mt</span></tt>.</dd>
+<dt><tt class="docutils literal"><span class="pre">-d</span></tt></dt>
+<dd><p class="first"><em>ABI tag</em>: encodes details that affect the library's
+interoperability with other compiled code.  For each such
+feature, a single letter is added to the tag:</p>
+<table border="1" class="docutils">
+<colgroup>
+<col width="6%" />
+<col width="94%" />
+</colgroup>
+<thead valign="bottom">
+<tr><th class="head">Key</th>
+<th class="head">Use this library when:</th>
+</tr>
+</thead>
+<tbody valign="top">
+<tr><td><tt class="docutils literal"><span class="pre">s</span></tt></td>
+<td>linking statically to the C++ standard library and compiler runtime support
+libraries.</td>
+</tr>
+<tr><td><tt class="docutils literal"><span class="pre">g</span></tt></td>
+<td>using debug versions of the standard and runtime support libraries.</td>
+</tr>
+<tr><td><tt class="docutils literal"><span class="pre">y</span></tt></td>
+<td>using a special <a class="reference" href="../libs/python/doc/building.html#variants">debug build of Python</a>.</td>
+</tr>
+<tr><td><tt class="docutils literal"><span class="pre">d</span></tt></td>
+<td>building a debug version of your code.<a class="footnote-reference" href="#debug-abi" id="id17" name="id17"><sup>6</sup></a></td>
+</tr>
+<tr><td><tt class="docutils literal"><span class="pre">p</span></tt></td>
+<td>using the STLPort standard library rather than the default one supplied with
+your compiler.</td>
+</tr>
+<tr><td><tt class="docutils literal"><span class="pre">n</span></tt></td>
+<td>using STLPort's deprecated “native iostreams” feature.<a class="footnote-reference" href="#native" id="id18" name="id18"><sup>7</sup></a></td>
+</tr>
+</tbody>
+</table>
+<p class="last">For example, if you build a debug version of your code for use
+with debug versions of the static runtime library and the
+STLPort standard library in “native iostreams” mode,
+the tag would be: <tt class="docutils literal"><span class="pre">-sgdpn</span></tt>.  If none of the above apply, the
+ABI tag is ommitted.</p>
+</dd>
+<dt><tt class="docutils literal"><span class="pre">-1_34</span></tt></dt>
+<dd><em>Version tag</em>: the full Boost release number,
+with periods replaced by underscores. The major and minor version
+numbers are taken together separated by an underscore. For
+example, version 1.31.1 would be tagged as &quot;-1_31_1&quot;.</dd>
+<dt><tt class="docutils literal"><span class="pre">.lib</span></tt></dt>
+<dd><em>Extension</em>: determined according to the
+operating system's usual convention.  On Windows, <tt class="docutils literal"><span class="pre">.dll</span></tt>
+indicates a shared library and <tt class="docutils literal"><span class="pre">.lib</span></tt> indicates a static or
+import library.  On most *nix platforms the extensions are
+<tt class="docutils literal"><span class="pre">.a</span></tt> and <tt class="docutils literal"><span class="pre">.so</span></tt> for static libraries (archives) and shared
+libraries, respectively.  Where supported by *nix toolsets, a
+full version extension is added (e.g. &quot;.so.1.34&quot;); a symbolic
+link to the library file, named without the trailing version
+number, will also be created.</dd>
+</dl>
+<hr class="docutils" />
+<table class="docutils footnote" frame="void" id="packagers" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id3" name="packagers">[1]</a></td><td>If developers of Boost packages would like to work
+with us to make sure these instructions can be used with their
+packages, we'd be glad to help.  Please make your interest known
+to the <a class="reference" href="mailing_lists.htm#main">Boost developers' list</a>.</td></tr>
+</tbody>
+</table>
+<table class="docutils footnote" frame="void" id="installer-src" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id4" name="installer-src">[2]</a></td><td>If you used the <a class="reference" href="http://www.boost-consulting.com/download.html">Windows installer</a> from Boost
+Consulting and deselected “Source and Documentation”  (it's
+selected by default), you won't see the <tt class="docutils literal"><span class="pre">libs/</span></tt> subdirectory.
+That won't affect your ability to use precompiled binaries, but
+you won't be able to rebuild libraries from scratch.</td></tr>
+</tbody>
+</table>
+<table class="docutils footnote" frame="void" id="pch" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id6" name="pch">[3]</a></td><td>There's no problem using Boost with precompiled headers;
+these instructions merely avoid precompiled headers because it
+would require Visual Studio-specific changes to the source code
+used in the examples.</td></tr>
+</tbody>
+</table>
+<table class="docutils footnote" frame="void" id="lowercase-l" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id14" name="lowercase-l">[4]</a></td><td>That option is a dash followed by a lowercase “L”
+character, which looks very much like a numeral 1 in some fonts.</td></tr>
+</tbody>
+</table>
+<table class="docutils footnote" frame="void" id="distinct" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id16" name="distinct">[5]</a></td><td>This convention distinguishes the static version of
+a Boost library from the import library for an
+identically-configured Boost DLL, which would otherwise have the
+same name.</td></tr>
+</tbody>
+</table>
+<table class="docutils footnote" frame="void" id="debug-abi" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id17" name="debug-abi">[6]</a></td><td>These libraries were compiled without optimization
+or inlining, with full debug symbols enabled, and without
+<tt class="docutils literal"><span class="pre">NDEBUG</span></tt> <tt class="docutils literal"><span class="pre">#define</span></tt>d.  All though it's true that sometimes
+these choices don't affect binary compatibility with other
+compiled code, you can't count on that with Boost libraries.</td></tr>
+</tbody>
+</table>
+<table class="docutils footnote" frame="void" id="native" rules="none">
+<colgroup><col class="label" /><col /></colgroup>
+<tbody valign="top">
+<tr><td class="label"><a class="fn-backref" href="#id18" name="native">[7]</a></td><td>This feature of STLPort is deprecated because it's
+impossible to make it work transparently to the user; we don't
+recommend it.</td></tr>
+</tbody>
+</table>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr class="footer" />
+Generated on: 2006-11-19 22:38 UTC.
+Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
+
+</div>
 </body>
 </html>

粤ICP备19079148号