Boost: Difference between revisions
From CBLFS
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (9 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
| http://downloads.sourceforge.net/boost/boost_{{Boost_Version}}.tar. | | http://downloads.sourceforge.net/boost/boost_{{Boost_Version}}.tar.bz2 | ||
|} | |} | ||
| Line 20: | Line 17: | ||
Compile the package: | Compile the package: | ||
./configure --prefix=/usr \ | |||
--with-toolset=gcc --with-bjam=/usr/bin/bjam && | |||
make | |||
Install the package: | Install the package: | ||
make install && | |||
ln -sfnv boost-{{Boost-Version2}}/boost /usr/include/boost | |||
== Multilib == | == Multilib == | ||
| Line 33: | Line 32: | ||
Compile the package: | Compile the package: | ||
echo "toolset.flags gcc OPTIONS : ${BUILD32} ;" >> tools/build/v2/tools/gcc.jam && | |||
export USE_ARCH=32 && | export USE_ARCH=32 && | ||
./configure --prefix=/usr --with-toolset=gcc \ | |||
--with-bjam=/usr/bin/bjam && | |||
make | |||
Install the package: | Install the package: | ||
make install && | |||
ln -sfnv boost-{{Boost-Version2}}/boost /usr/include/boost && | |||
unset USE_ARCH | unset USE_ARCH | ||
| Line 59: | Line 58: | ||
Compile the package: | Compile the package: | ||
echo "toolset.flags gcc OPTIONS : ${BUILD64} ;" >> tools/build/v2/tools/gcc.jam && | |||
export USE_ARCH=64 && | export USE_ARCH=64 && | ||
./configure --prefix=/usr --libdir=/usr/lib64 \ | |||
--with-toolset=gcc --with-bjam=/usr/bin/bjam && | |||
make | |||
Install the package: | Install the package: | ||
make install && | |||
ln -sfnv boost-{{Boost-Version2}}/boost /usr/include/boost && | |||
unset USE_ARCH | unset USE_ARCH | ||
| Line 83: | Line 83: | ||
|Many libraries | |Many libraries | ||
|} | |} | ||
[[Category:General Utilities]] | |||
Latest revision as of 13:53, 19 March 2009
| Download Source: | http://downloads.sourceforge.net/boost/boost_1_37_0.tar.bz2 |
|---|
Introduction to Boost
Boost provides free peer-reviewed portable C++ source libraries.
Project Homepage: http://www.boost.org/
Dependencies
Required
Non-Multilib
Compile the package:
./configure --prefix=/usr \
--with-toolset=gcc --with-bjam=/usr/bin/bjam &&
make
Install the package:
make install && ln -sfnv boost-1_37/boost /usr/include/boost
Multilib
32Bit
Compile the package:
echo "toolset.flags gcc OPTIONS : ${BUILD32} ;" >> tools/build/v2/tools/gcc.jam &&
export USE_ARCH=32 &&
./configure --prefix=/usr --with-toolset=gcc \
--with-bjam=/usr/bin/bjam &&
make
Install the package:
make install && ln -sfnv boost-1_37/boost /usr/include/boost && unset USE_ARCH
N32
Compile the package:
To do...
Install the package:
To Do...
64Bit
Compile the package:
echo "toolset.flags gcc OPTIONS : ${BUILD64} ;" >> tools/build/v2/tools/gcc.jam &&
export USE_ARCH=64 &&
./configure --prefix=/usr --libdir=/usr/lib64 \
--with-toolset=gcc --with-bjam=/usr/bin/bjam &&
make
Install the package:
make install && ln -sfnv boost-1_37/boost /usr/include/boost && unset USE_ARCH
Contents
| Installed Directories: | /usr/include/boost-1_37_0 |
|---|---|
| Installed Programs: | None |
| Installed Libraries: | Many libraries |