Difference between revisions of "Boost"

From CBLFS
Jump to navigationJump to search
Line 24: Line 24:
  
 
  make install &&
 
  make install &&
  ln -sfnv boost-1_36 /usr/include/boost
+
  ln -sfnv boost-1_36/boost /usr/include
  
 
== Multilib ==
 
== Multilib ==
Line 41: Line 41:
  
 
  make install &&
 
  make install &&
  ln -sfnv boost-1_36 /usr/include/boost &&
+
  ln -sfnv boost-1_36/boost /usr/include &&
 
  unset USE_ARCH
 
  unset USE_ARCH
  
Line 67: Line 67:
  
 
  make install &&
 
  make install &&
  ln -sfnv boost-1_36 /usr/include/boost &&
+
  ln -sfnv boost-1_36/boost /usr/include &&
 
  unset USE_ARCH
 
  unset USE_ARCH
  

Revision as of 10:36, 11 October 2008

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_36/boost /usr/include

Multilib

32Bit

Compile the package:

echo "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_36/boost /usr/include &&
unset USE_ARCH

N32

Compile the package:

To do...

Install the package:

To Do...

64Bit

Compile the package:

echo "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_36/boost /usr/include &&
unset USE_ARCH

Contents

Installed Directories: /usr/include/boost-1_37_0
Installed Programs: None
Installed Libraries: Many libraries