User Tools

Site Tools


boost

Boost

Official website: http://www.boost.org/

Installation of Boost

Install Boost by running the following commands:

./bootstrap.sh –prefix=/usr && ./b2 stage threading=multi link=shared

This package does not come with a test suite.

Now, as the root user:

./b2 install threading=multi link=shared

Command Explanations

threading=multi: This parameter ensures that Boost is built with multithreading support.

link=shared: This parameter ensures that only shared libraries are created, except for libboost_exception and libboost_test_exec_monitor which are created as static. Most people will not need the static libraries, indeed most programs using Boost only use the headers, but omit this parameter if you do need them.

source: http://www.linuxfromscratch.org/blfs/view/svn/general/boost.html

boost.txt · Last modified: 2016/10/24 19:24 (external edit)