diff --git a/getting_started/unix-variants.html b/getting_started/unix-variants.html index a594717..fedb53f 100644 --- a/getting_started/unix-variants.html +++ b/getting_started/unix-variants.html @@ -30,36 +30,36 @@
Index
The most reliable way to get a copy of Boost is to download a distribution from SourceForge:
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.
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 @@ -256,10 +256,10 @@ 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.
@@ -269,11 +269,11 @@ correctly identified the -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):
@@ -301,7 +301,7 @@ 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 @@ -311,7 +311,7 @@ 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. First, you'll need to build and install it. To do this:
@@ -324,7 +324,7 @@ the directory where you want Boost.Build to be installedFirst, find the toolset corresponding to your compiler in the following table (an up-to-date list is always available in the Boost.Build documentation).
@@ -408,7 +408,7 @@ a hyphen, e.g. intel-9.0 borland-5.4.3.Boost.Build will place all intermediate files it generates while building into the build directory. If your Boost root directory is writable, this step isn't strictly necessary: by @@ -416,11 +416,11 @@ default Boost.Build will create a bin.v2/ subd purpose in your current working directory.
Change your current directory to the Boost root directory and invoke b2 as follows:
-b2 --build-dir=build-directory toolset=toolset-name stage +b2 --build-dir=build-directory toolset=toolset-name stage
For a complete description of these and other invocation options, please see the Boost.Build documentation.
@@ -465,7 +465,7 @@ file by appending “>build.log -During the process of building Boost libraries, you can expect to see some messages printed on the console. These may include
The only error messages you see when building Boost—if any—should
be related to the IOStreams library's support of zip and bzip2
formats as described here. Install the relevant development
@@ -506,7 +506,7 @@ for your compiler to the
- 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 Boost.Regex library, which has a
@@ -546,7 +546,7 @@ $ c++ -I path/to/boost_1_63_0 example
~/boost/stage/lib/libboost_regex-gcc34-mt-d-1_36.a
- You can separately specify a directory to search (with -Ldirectory) and a library name to search for (with -llibrary,2 dropping the filename's leading lib and trailing
+ You can separately specify a directory to search (with -Ldirectory) and a library name to search for (with -llibrary,2 dropping the filename's leading lib and trailing
suffix (.a in this case): In both cases above, the bold text is what you'd add to the
command lines we explored earlier. To test our subject extraction, we'll filter the following text
file. Copy it out of your browser and save it as jayne.txt: 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
@@ -735,7 +735,7 @@ to the
6 Link Your Program to a Boost Library
+6 Link Your Program to a Boost Library
$ c++ -I path/to/boost_1_63_0 example.cpp -o example \
@@ -564,7 +564,7 @@ automatically for you unless you pass a special option such as
6.1 Library Naming
+6.1 Library Naming
@@ -579,7 +579,7 @@ following elements:
python-debugging=on
d
-building a debug version of your code.5
+building a debug version of your code.5
variant=debug
p
@@ -660,7 +660,7 @@ version number, will also be created.
6.2 Test Your Program
+6.2 Test Your Program
@@ -700,7 +700,7 @@ Spoil Rock Hunter?”
7 Conclusion and Further Resources
+7 Conclusion and Further Resources
[2] That option is a dash followed by a lowercase “L”
+
@@ -745,7 +745,7 @@ character, which looks very much like a numeral 1 in some fonts.[2] That option is a dash followed by a lowercase “L”
character, which looks very much like a numeral 1 in some fonts.