Commit 92fbfa8e authored by Carles Cufi's avatar Carles Cufi
Browse files

Update doc with more 32 vs 64 info

parent 5c60a27c
......@@ -53,6 +53,8 @@ to find the version of the MSVC that you need to provide using the `toolset=` op
**Note**: Select 32 or 64-bit with the `address-model=` option.
**Note**: Use `dumpbin /headers <file>` to check whether a particular object file is 32 or 64-bit.
#### Examples
Build 32-bit Boost with Visual Studio 2013:
......@@ -65,7 +67,7 @@ Build 64-bit Boost with Visual Studio 2015:
#### Side-by-side 32 and 64-bit versions
If you want to be able to have both the 32 and 64-bit versions of Boost available, add `--stagedir=./stage/x86` when building the 32-bit version and `--stagedir=./stage/x64` when building the 64-bit one, and they will be placed in `stage/x86` and `stage/x64` respectively. Later on you when building repositories that depend on this one, you will be able to point CMake the correct version of the libraries by using `-DBOOST_LIBRARYDIR:STRING="c:\boost\boost_1_61_0\stage\x<XX>\lib`.
If you want to be able to have both the 32 and 64-bit versions of Boost available, add `--stagedir=./stage/x86` when building the 32-bit version and `--stagedir=./stage/x64` when building the 64-bit one, and they will be placed in `stage/x86` and `stage/x64` respectively. Later on you when building repositories that depend on this one, you will be able to point CMake the correct version of the libraries by using `-DBOOST_LIBRARYDIR:STRING="c:\boost\boost_1_xx_y\stage\x<XX>\lib`.
### Ubuntu Linux
......@@ -85,6 +87,12 @@ Open a terminal window and issue the following commands:
**Note**: Select 32 or 64-bit with the `address-model=` option.
**Note**: Use `objdump -f <file>` to check whether a particular object file is 32 or 64-bit.
#### Side-by-side 32 and 64-bit versions
If you want to be able to have both the 32 and 64-bit versions of Boost available, add `--stagedir=./stage/x86` when building the 32-bit version and `--stagedir=./stage/x64` when building the 64-bit one, and they will be placed in `stage/x86` and `stage/x64` respectively. Later on you when building repositories that depend on this one, you will be able to point CMake the correct version of the libraries by using `-DBOOST_LIBRARYDIR:STRING="~/boost/boost_1_xx_y/stage/x<XX>/lib`.
### OS X 10.11 and later
Install Xcode from the App Store.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment