From d03ce3ac8cb2f7b4d45b2bdca9f2073003f0745c Mon Sep 17 00:00:00 2001
From: Ronald Garcia
Index
The most reliable way to get a copy of Boost is to download a 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,7 +79,7 @@ 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.This is a sketch of the resulting directory structure:
boost_1_34_0/ .................The “boost root directory” @@ -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:
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,11 +239,11 @@ 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.
@@ -250,12 +252,12 @@ correctly identified the BoostIf 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):
@@ -282,8 +284,8 @@ prefix, so you can henceforth use that directory as an skip to the next step
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 use this method if you need a nonstandard build variant (see the @@ -294,8 +296,9 @@ use this method if you need a nonstandard build variant (see the
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.
@@ -303,8 +306,8 @@ Boost root. Alternatively, you can build bjam yourself using these instructions.First, find the toolset corresponding to your compiler in the following table.
using a special debug build of Python. | ||
d | -building a debug version of your code.5 | +building a debug version of your code.5 |
p | using the STLPort standard library rather than the default one supplied with your compiler. | |
n | -using STLPort's deprecated “native iostreams” feature.6 | +using STLPort's deprecated “native iostreams” feature.6 |
To test our subject extraction, we'll filter the following text file. Copy it out of your browser and save it as jayne.txt:
@@ -682,8 +686,8 @@ Spoil Rock Hunter?”
This concludes your introduction to Boost and to integrating it with your programs. As you start using Boost in earnest, there are surely a few additional points you'll wish we had covered. One day @@ -711,7 +715,7 @@ mailing list.