schorsch-tech.de
Software, programming and stuff
Build Boost with custom gcc
bootstrap b2
tar -xjf boost_1.68.0.tar.bz2
mv boost_1.68.0 1.68.0
cd 1.68.0
./bootstrap --with-toolset=clang
Setzen von gcc
echo "using gcc : 8 : /usr/local/bin/gcc8 ; " " >> tools/build/src/user-config.jam
time ./b2 -j8 --build-type=complete --stagedir=stage64 address-model=64 --layout=tagged --without-math --toolset=gcc stage
Wichtig ist hier das echo. Es setzt den Pfad zum Custom g++. b2 kann ich so leider noch nicht bauen, das ist aber auch nicht nötig.
Categories
software
Permanent link to this post: https://www.schorsch-tech.de//posts/build-boost-with-custom-gcc