diff --git a/getting_started/detail/release-variables.rst b/getting_started/detail/release-variables.rst index f14f5d4..63c224d 100644 --- a/getting_started/detail/release-variables.rst +++ b/getting_started/detail/release-variables.rst @@ -5,8 +5,8 @@ .. This file contains all the definitions that need to be updated .. for each new release of Boost. -.. |boost-version-number| replace:: 1.40.0 -.. |boost_ver| replace:: ``boost_1_40_0`` -.. |boost_ver-bold| replace:: **boost_1_40_0** +.. |boost-version-number| replace:: 1.41.0 +.. |boost_ver| replace:: ``boost_1_41_0`` +.. |boost_ver-bold| replace:: **boost_1_41_0** .. _sf-download: http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041 diff --git a/getting_started/index.html b/getting_started/index.html index 399d794..7542516 100644 --- a/getting_started/index.html +++ b/getting_started/index.html @@ -10,6 +10,7 @@
The most reliable way to get a copy of Boost is to download a distribution from SourceForge:
Download boost_1_40_0.tar.bz2.
+Download boost_1_41_0.tar.bz2.
In the directory where you want to put the Boost installation, execute
-tar --bzip2 -xf /path/to/boost_1_40_0.tar.bz2 +tar --bzip2 -xf /path/to/boost_1_41_0.tar.bz2
This is a sketch of the resulting directory structure:
-boost_1_40_0/ .................The “boost root directory” +boost_1_41_0/ .................The “boost root directory” index.htm .........A copy of www.boost.org starts here boost/ .........................All Boost Header files @@ -136,7 +136,7 @@ anything you can use in these directories.
It's important to note the following:
The path to the boost root directory (often /usr/local/boost_1_40_0) is +
The path to the boost root directory (often /usr/local/boost_1_41_0) is sometimes referred to as $BOOST_ROOT in documentation and mailing lists .
Now, in the directory where you saved example.cpp, issue the following command:
-c++ -I path/to/boost_1_40_0 example.cpp -o example +c++ -I path/to/boost_1_41_0 example.cpp -o example
To test the result, type:
@@ -262,7 +262,7 @@ you'll need to acquire library binaries.Issue the following commands in the shell (don't type $; that represents the shell's prompt):
-$ cd path/to/boost_1_40_0 +$ cd path/to/boost_1_41_0 $ ./bootstrap.sh --helpSelect your configuration options and invoke ./bootstrap.sh again @@ -428,7 +428,7 @@ bjam --build-dir=Boost.Build documentation.
For example, your session might look like this:
-$ cd ~/boost_1_40_0 +$ cd ~/boost_1_41_0 $ bjam --build-dir=/tmp/build-boost toolset=gcc stageThat will build static and shared non-debug multi-threaded variants of the libraries. To build all variants, pass the additional option, “--build-type=complete”.
@@ -543,14 +543,14 @@ project.@@ -662,10 +662,10 @@ e.g. C:\Program For example, we can compile and link the above program from the Visual C++ command-line by simply adding the bold text below to the command line we used earlier, assuming your Boost binaries are -in C:\Program Files\boost\boost_1_40_0\lib: +in C:\Program Files\boost\boost_1_41_0\lib:
You can specify the full path to each library:
-$ c++ -I path/to/boost_1_40_0 example.cpp -o example \ +$ c++ -I path/to/boost_1_41_0 example.cpp -o example \ ~/boost/stage/lib/libboost_regex-gcc34-mt-d-1_36.aYou 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):
-$ c++ -I path/to/boost_1_40_0 example.cpp -o example \ +$ c++ -I path/to/boost_1_41_0 example.cpp -o example \ -L~/boost/stage/lib/ -lboost_regex-gcc34-mt-d-1_36As you can see, this method is just as terse as method A for one diff --git a/getting_started/windows.html b/getting_started/windows.html index 4bfd2a5..d88787c 100644 --- a/getting_started/windows.html +++ b/getting_started/windows.html @@ -73,7 +73,7 @@ least install the Static Multithreaded variants of the boost_1_40_0.7z or boost_1_40_0.zip and unpack it to install a complete Boost +download boost_1_41_0.7z or boost_1_41_0.zip and unpack it to install a complete Boost distribution.1
@@ -83,7 +83,7 @@ distribution.12 The Boost Distribution
This is a sketch of the resulting directory structure:
-boost_1_40_0\ .................The “boost root directory” +boost_1_41_0\ .................The “boost root directory” index.htm .........A copy of www.boost.org starts here boost\ .........................All Boost Header files lib\ .....................precompiled library binaries @@ -128,7 +128,7 @@ anything you can use in these directories.It's important to note the following:
-
The path to the boost root directory (often C:\Program Files\boost\boost_1_40_0) is +
- @@ -253,7 +253,7 @@ cd path\to\some\directory
The path to the boost root directory (often C:\Program Files\boost\boost_1_41_0) is sometimes referred to as $BOOST_ROOT in documentation and mailing lists .
followed by Return. For example,
-cd C:\Program Files\boost\boost_1_40_0 +cd C:\Program Files\boost\boost_1_41_0Long commands can be continued across several lines by typing a caret (^) at the end of all but the last line. Some examples @@ -278,7 +278,7 @@ select Properties from the resulting pop-up menu
In Configuration Properties > C/C++ > General > Additional Include Directories, enter the path to the Boost root directory, for example
-C:\Program Files\boost\boost_1_40_0
+C:\Program Files\boost\boost_1_41_0
In Configuration Properties > C/C++ > Precompiled Headers, change @@ -316,7 +316,7 @@ Visual Studio compiler. In that window, set the to a suitable location for creating some temporary files and type the following command followed by the Return key:
-cl /EHsc /I path\to\boost_1_40_0 path\to\example.cpp +cl /EHsc /I path\to\boost_1_41_0 path\to\example.cppTo test the result, type:
@@ -347,7 +347,7 @@ you'll need to acquire library binaries.5.1 Install Visual Studio Binaries
The installers supplied by BoostPro Computing will download and install pre-compiled binaries into the lib\ subdirectory of the -boost root, typically C:\Program Files\boost\boost_1_40_0\lib\. If you installed +boost root, typically C:\Program Files\boost\boost_1_41_0\lib\. If you installed all variants of the Boost.Regex binary, you're done with this step. Otherwise, please run the installer again and install them now.
@@ -513,8 +513,8 @@ bjam --build-dir=Boost.Build documentation.For example, your session might look like this:4
-C:\WINDOWS> cd C:\Program Files\boost\boost_1_40_0 -C:\Program Files\boost\boost_1_40_0> bjam ^ +C:\WINDOWS> cd C:\Program Files\boost\boost_1_41_0 +C:\Program Files\boost\boost_1_41_0> bjam ^ More? --build-dir="C:\Documents and Settings\dave\build-boost" ^ More? --build-type=complete msvc stage@@ -652,7 +652,7 @@ earlier: select Properties from the resulting pop-up menu- In Configuration Properties > Linker > Additional Library Directories, enter the path to the Boost binaries, -e.g. C:\Program Files\boost\boost_1_40_0\lib\.
+e.g. C:\Program Files\boost\boost_1_41_0\lib\.- From the Build menu, select Build Solution.
-cl /EHsc /I path\to\boost_1_40_0 example.cpp ^ - /link /LIBPATH: C:\Program Files\boost\boost_1_40_0\lib +cl /EHsc /I path\to\boost_1_41_0 example.cpp ^ + /link /LIBPATH: C:\Program Files\boost\boost_1_41_0\lib@@ -819,7 +819,7 @@ mailing list.[1] We recommend -downloading boost_1_40_0.7z and using 7-Zip to decompress +downloading boost_1_41_0.7z and using 7-Zip to decompress it. We no longer recommend .zip files for Boost because they are twice as large as the equivalent .7z files. We don't recommend using Windows' built-in decompression as it can be painfully slow for large archives.