diff --git a/more/getting_started/detail/build-from-source-head.rst b/more/getting_started/detail/build-from-source-head.rst index 7e55da83b1..b2dfd5cad1 100644 --- a/more/getting_started/detail/build-from-source-head.rst +++ b/more/getting_started/detail/build-from-source-head.rst @@ -10,7 +10,7 @@ installing software. To use it, you'll need an executable called .. _precompiled-bjam: http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=72941 -.. _Boost.Jam documentation: Boost.Jam_ +.. .. _Boost.Jam documentation: Boost.Jam_ .. _Boost.Build: ../../tools/build/index.html .. _Boost.Jam: ../../tools/jam/index.html .. _Boost.Build documentation: Boost.Build_ diff --git a/more/getting_started/detail/header-only.rst b/more/getting_started/detail/header-only.rst index 13d7e3fd7d..c1f1dd3b3e 100644 --- a/more/getting_started/detail/header-only.rst +++ b/more/getting_started/detail/header-only.rst @@ -15,20 +15,23 @@ Boost?” The good news is that often, there's nothing to build. require no separately-compiled library binaries or special treatment when linking. -.. _separate: +.. .. _separate: The only Boost libraries that *must* be built separately are: * Boost.Filesystem_ * Boost.IOStreams_ * Boost.ProgramOptions_ -* Boost.Python_ +* Boost.Python_ (see the `Boost.Python build documentation`__ + before building and installing it) * Boost.Regex_ * Boost.Serialization_ * Boost.Signals_ * Boost.Thread_ * Boost.Wave_ +__ ../../libs/python/doc/building.html + A few libraries have optional separately-compiled binaries: * Boost.DateTime_ has a binary component that is only needed if diff --git a/more/getting_started/detail/library-naming.rst b/more/getting_started/detail/library-naming.rst index ad1d512232..76d99ed5c2 100644 --- a/more/getting_started/detail/library-naming.rst +++ b/more/getting_started/detail/library-naming.rst @@ -19,7 +19,7 @@ following elements: *Library name*: all boost library filenames begin with ``boost_``. ``-vc71`` - *Toolset tag*: identifies the toolset and version used to build + *Toolset tag*: identifies the toolset_ and version used to build the binary. ``-mt`` @@ -68,13 +68,13 @@ following elements: ``.a`` and ``.so`` for static libraries (archives) and shared libraries, respectively. On Windows, ``.dll`` indicates a shared library and (except for static libraries built by the ``gcc`` - toolset, whose names always end in ``.a``) ``.lib`` indicates a + toolset_, whose names always end in ``.a``) ``.lib`` indicates a static or import library. Where supported by toolsets on unix variants, a full version extension is added (e.g. ".so.1.34") and a symbolic link to the library file, named without the trailing version number, will also be created. -.. _Boost.Build toolset names: toolset-name_ +.. .. _Boost.Build toolset names: toolset-name_ __ ../../libs/python/doc/building.html#variants diff --git a/more/getting_started/detail/release-variables.rst b/more/getting_started/detail/release-variables.rst index c8dc919531..1adbd3fb67 100644 --- a/more/getting_started/detail/release-variables.rst +++ b/more/getting_started/detail/release-variables.rst @@ -9,4 +9,4 @@ .. |boost_ver| replace:: ``boost_1_34_0`` .. |boost_ver-bold| replace:: **boost_1_34_0** -.. _sf-download: http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041&release_id=376197 \ No newline at end of file +.. _sf-download: http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041 \ No newline at end of file diff --git a/more/getting_started/index.html b/more/getting_started/index.html index c72e124216..2f60d00baa 100644 --- a/more/getting_started/index.html +++ b/more/getting_started/index.html @@ -9,19 +9,19 @@
Welcome to the Boost libraries! By the time you've completed this tutorial, you'll be at least somewhat comfortable with the contents of a Boost distribution and how to go about using it.
This document is designed to be an extremely gentle introduction, so we included a fair amount of material that may already be very familiar to you. To keep things simple, we also left out some @@ -29,8 +29,8 @@ information intermediate and advanced users will probably want. At the end of this document, we'll refer you on to resources that can help you pursue these topics further.
We use one typographic convention that might not be immediately obvious: italic text in examples is meant as a descriptive placeholder for something else, usually information that you'll @@ -41,16 +41,16 @@ provide. For example:
Here you're expected to imagine replacing the text “your name” with your actual name.
Let's go!
Index
The most reliable way to get a copy of Boost is to download a -distribution from SourceForge:
+distribution from SourceForge:Download boost_1_34_0.tar.bz2.
+Download boost_1_34_0.tar.bz2.
In the directory where you want to put the Boost installation, execute
@@ -79,16 +79,16 @@ library packages, however you may need to adapt these instructions if you use third-party packages, because their creators usually choose to break Boost up into several packages, reorganize the directory structure of the Boost distribution, -and/or rename the library binaries.1 If you have +and/or rename the library binaries.1 If you have any trouble, we suggest using an official Boost distribution -from SourceForge. +from SourceForge.This is a sketch of the resulting directory structure:
boost_1_34_0/ .................The “boost root directory”
@@ -123,7 +123,7 @@ the Python library's def.hpp
Some libraries have an “aggregate header” in boost/ that
#includes all of the library's other headers. For
-example, Boost.Python's aggregate header is
+example, Boost.Python's aggregate header is
boost/python.hpp.
@@ -165,8 +165,8 @@ contains a subset of the Boost documentation. Start with
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.
The only Boost libraries that must be built separately are:
+ +The only Boost libraries that must be built separately are:
A few libraries have optional separately-compiled binaries:
To keep things simple, let's start by using a header-only library. The following program reads a sequence of integers from standard input, uses Boost.Lambda to multiply each number by three, and @@ -237,25 +239,25 @@ echo 1 2 3 | ./example -
Don't be alarmed if you see compiler warnings originating in Boost headers. We try to eliminate them, but doing so isn't always -practical.3 Errors are another matter. If you're +practical.3 Errors are another matter. If you're seeing compilation errors at this point in the tutorial, check to -be sure you've copied the example program correctly and that you've -correctly identified the Boost root directory.
+be sure you've copied the example program correctly and that you've +correctly identified the Boost root directory.If you want to use any of the separately-compiled Boost libraries, you'll need to acquire library binaries.
-Issue the following commands in the shell (don't type $; that represents the shell's prompt):
@@ -280,34 +282,35 @@ installation prefix. You will also find a copy of the Boost headers in the include/ subdirectory of the installation prefix, so you can henceforth use that directory as an #include path in place of the Boost root directory. - +
If you're using a compiler other than your system's default, you'll -need to use Boost.Build to create binaries. You'll also +need to use Boost.Build to create binaries. You'll also use this method if you need a nonstandard build variant (see the -Boost.Build documentation for more details).
+Boost.Build documentation for more details). -Boost.Build is a text-based system for developing, testing, and +
Boost.Build is a text-based system for developing, testing, and installing software. To use it, you'll need an executable called bjam.
-bjam is the command-line tool that drives the Boost Build system. To build Boost binaries, you'll invoke bjam from the Boost root.
-Boost provides pre-compiled bjam executables for a variety of platforms.
-Alternatively, you can build bjam yourself using these
+ Boost provides pre-compiled bjam executables for a variety of platforms.
+Alternatively, you can build bjam yourself using these
instructions.
First, find the toolset corresponding to your compiler in the following table.
-