summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-10-14 08:35:52 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-10-14 08:35:52 +0300
commitbff327ea34ffec480fa92af5b661b4004aa55c9d (patch)
tree49b9d881c75e0af0071a09a49d759237524e6249
parentwindows-apps.md: update (diff)
downloadnotes-bff327ea34ffec480fa92af5b661b4004aa55c9d.tar.gz
notes-bff327ea34ffec480fa92af5b661b4004aa55c9d.zip
add boost.md
-rw-r--r--boost.md88
1 files changed, 88 insertions, 0 deletions
diff --git a/boost.md b/boost.md
new file mode 100644
index 0000000..ca847e4
--- /dev/null
+++ b/boost.md
@@ -0,0 +1,88 @@
+Boost
+=====
+
+Visual Studio
+-------------
+
+### x86
+
+From either "x86 Cross Tools Command Prompt" or "x86 Native Tools Command
+Prompt":
+
+ > cd
+ D:\workspace\third-party\boost_1_61_0\msvc
+
+ > bootstrap
+ ...
+
+ > b2 --stagedir=stage\x86 ^
+ --with-filesystem ^
+ --with-program_options ^
+ ...
+ ...
+
+### x64
+
+From either "x64 Cross Tools Command Prompt" or "x64 Native Tools Command
+Prompt":
+
+ > cd
+ D:\workspace\third-party\boost_1_61_0\msvc
+
+ > bootstrap
+ ...
+
+ > b2 --stagedir=stage\x64 ^
+ address-model=64 ^
+ --with-filesystem ^
+ --with-program_options ^
+ ...
+ ...
+
+Cygwin + MinGW-w64
+------------------
+
+### x86
+
+ > cd
+ /cygdrive/d/workspace/third-party/boost_1_61_0/mingw/x86
+
+ > ./bootstrap.sh
+ ...
+
+ > cat user-config-x86.jam
+ using gcc : : i686-w64-mingw32-g++.exe ;
+
+ > ./b2 toolset=gcc-mingw \
+ target-os=windows \
+ link=static \
+ variant=debug \
+ --stagedir=stage/debug \
+ --user-config=user-config-x86.jam \
+ --with-filesystem \
+ --with-program_options \
+ ...
+ ...
+
+### x64
+
+ > cd
+ /cygdrive/d/workspace/third-party/boost_1_61_0/mingw/x64
+
+ > ./bootstrap.sh
+ ...
+
+ > cat user-config-x64.jam
+ using gcc : : x86_64-w64-mingw32-g++.exe ;
+
+ > ./b2 toolset=gcc-mingw \
+ target-os=windows \
+ address-model=64 \
+ link=static \
+ variant=debug \
+ --stagedir=stage/debug \
+ --user-config=user-config-x64.jam \
+ --with-filesystem \
+ --with-program_options \
+ ...
+ ...