Last active
August 7, 2022 20:10
-
-
Save jimporter/10442880 to your computer and use it in GitHub Desktop.
Revisions
-
Jim Porter revised this gist
Jul 29, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -11,7 +11,7 @@ SRC_DIR=$HOME/src/boost_1_55_0 INSTALL_DIR=$HOME cd $SRC_DIR ./bootstrap.sh --with-toolset=clang --prefix=$INSTALL_DIR ./b2 clean ./b2 toolset=clang cxxflags="-std=c++1y -stdlib=libc++" linkflags="-stdlib=libc++" --prefix=$INSTALL_DIR -j 4 stage release ./b2 install toolset=clang cxxflags="-std=c++1y -stdlib=libc++" linkflags="-stdlib=libc++" --prefix=$INSTALL_DIR -
Jim Porter revised this gist
Apr 11, 2014 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,11 @@ #!/bin/sh # First, build libc++ See <http://libcxx.llvm.org/>, "Build on Linux using CMake # and libsupc++." and substitute libsupc++ for libstdc++. NOTE: You'll probably # need to explicitly link libsupc++ when you compile your own code! # # Next, download Boost and extract it somewhere. Set SRC_DIR to that location. SRC_DIR=$HOME/src/boost_1_55_0 # Set this to be the install prefix. "/usr" is also a good choice. INSTALL_DIR=$HOME -
Jim Porter created this gist
Apr 11, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ #!/bin/sh # First, build libc++ See <http://libcxx.llvm.org/>, "Build on Linux using CMake # and libsupc++." and substitute libsupc++ for libstdc++. # # Next, download Boost and extract it somewhere. Set SRC_DIR to that location. SRC_DIR=/path/to/boost-src # Set this to be the install prefix. "/usr" is also a good choice. INSTALL_DIR=$HOME cd $SRC_DIR ./bootstrap.sh --with-toolset=clang --prefix=/home/jim ./b2 clean ./b2 toolset=clang cxxflags="-std=c++1y -stdlib=libc++" linkflags="-stdlib=libc++" --prefix=$INSTALL_DIR -j 4 stage release ./b2 install toolset=clang cxxflags="-std=c++1y -stdlib=libc++" linkflags="-stdlib=libc++" --prefix=$INSTALL_DIR