Last active
May 18, 2018 14:20
-
-
Save vladon/9fca017890ba024143f2 to your computer and use it in GitHub Desktop.
Build Boost 1.60 on Linux and Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// linux: | |
sudo ./bootstrap.sh --with-toolset=clang | |
sudo ./b2 --reconfigure stage toolset=clang cxxflags="-std=c++1z -fPIC -O3 -Werror -Wno-unused-local-typedef -Wno-deprecated-declarations -Wno-unused-function" link=static,shared variant=release threading=multi linkflags="-fPIC" define=BOOST_SYSTEM_NO_DEPRECATED -q toolset=clang | |
-fPIC" define=BOOST_SYSTEM_NO_DEPRECATED -q | |
// windows: | |
bootstrap | |
b2 headers | |
b2 --reconfigure stage --without-mpi --build-type=complete --layout=versioned variant=debug,release link=static,shared threading=single,multi runtime-link=static,shared define=BOOST_SYSTEM_NO_DEPRECATED address-model=32 -q | |
b2 --reconfigure stage --without-mpi --build-type=complete --layout=versioned variant=debug,release link=static,shared threading=single,multi runtime-link=static,shared define=BOOST_SYSTEM_NO_DEPRECATED address-model=64 -q |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment