Difference between revisions of "Boost"

From CBLFS
Jump to navigationJump to search
Line 32: Line 32:
 
Compile the package:
 
Compile the package:
  
  To do...
+
  patch -Np1 -i ../boost-1.34.1-fix-1.patch
 +
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 +
USE_ARCH=32 ./configure --prefix=/usr
 +
make
  
 
Install the package:
 
Install the package:
  
  To do...
+
  make install
  
 
=== N32 ===
 
=== N32 ===
Line 46: Line 49:
 
Install the package:
 
Install the package:
  
  To do...
+
  To Do...
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 52: Line 55:
 
Compile the package:
 
Compile the package:
  
  To do...
+
  patch -Np1 -i ../boost-1.34.1-fix-1.patch
 +
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 +
USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64
 +
make
  
 
Install the package:
 
Install the package:
  
  To do...
+
  make install
  
 
== Contents ==
 
== Contents ==

Revision as of 19:43, 22 January 2008

Download Source: http://downloads.sourceforge.net/boost/boost_1_37_0.tar.bz2
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/boost/boost-1.34.1-fix-1.patch

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:

patch -Np1 -i ../boost-1.34.1-fix-1.patch
./configure --prefix=/usr

Install the package:

make install

Multilib

32Bit

Compile the package:

patch -Np1 -i ../boost-1.34.1-fix-1.patch
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
USE_ARCH=32 ./configure --prefix=/usr
make

Install the package:

make install

N32

Compile the package:

To do...

Install the package:

To Do...

64Bit

Compile the package:

patch -Np1 -i ../boost-1.34.1-fix-1.patch
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64
make

Install the package:

make install

Contents

Installed Directories: /usr/include/boost-1_37_0
Installed Programs: None
Installed Libraries: Many libraries
Retrieved from "?title=Boost&oldid=12777"