Difference between revisions of "BJam"

From CBLFS
Jump to navigationJump to search
Line 33: Line 33:
 
     -e "s/g++/& ${BUILD32}/" Jambase &&
 
     -e "s/g++/& ${BUILD32}/" Jambase &&
 
  rm -v jambase.c &&
 
  rm -v jambase.c &&
  CC="gcc" CFLAGS="${BUILD32}" ./build.sh cc &&
+
  CC="gcc" CFLAGS="${BUILD32}" ./build.sh cc  
make
+
 
  
 
The installation must be done manually. Copy the binaries from the created directory:
 
The installation must be done manually. Copy the binaries from the created directory:
Line 49: Line 49:
 
  rm -v jambase.c &&
 
  rm -v jambase.c &&
 
  CC="gcc" CFLAGS="${BUILDN32}" ./build.sh cc &&
 
  CC="gcc" CFLAGS="${BUILDN32}" ./build.sh cc &&
make
+
 
  
 
The installation must be done manually. Copy the binaries from the created directory:
 
The installation must be done manually. Copy the binaries from the created directory:
Line 65: Line 65:
 
  rm -v jambase.c &&
 
  rm -v jambase.c &&
 
  CC="gcc" CFLAGS="${BUILD64}" ./build.sh cc &&
 
  CC="gcc" CFLAGS="${BUILD64}" ./build.sh cc &&
make
 
  
 
The installation must be done manually. Copy the binaries from the created directory:
 
The installation must be done manually. Copy the binaries from the created directory:

Revision as of 15:04, 27 January 2008

Download Source: http://downloads.sourceforge.net/boost/boost-jam-3.1.17.tgz

Introduction to BJam

Boost provides free portable peer-reviewed C++ libraries. The emphasis is on portable libraries which work well with the C++ Standard Library. See http://www.boost.org.

Project Homepage: Unknown

Dependencies

Non-Multilib

Compile the package:

./build.sh

The installation must be done manually. Copy the binaries from the created directory:

cd bin.linux* &&
cp -v bjam /usr/bin &&


Multilib

32Bit

Compile the package:

sed -i -e "s/gcc/& ${BUILD32}/" \
    -e "s/g++/& ${BUILD32}/" Jambase &&
rm -v jambase.c &&
CC="gcc" CFLAGS="${BUILD32}" ./build.sh cc 


The installation must be done manually. Copy the binaries from the created directory:

cd bin.linux* &&
cp -v bjam /usr/bin/bjam-32

N32

Compile the package:

sed -i -e "s/gcc/& ${BUILDN32}/" \
    -e "s/g++/& ${BUILDN32}/" Jambase &&
rm -v jambase.c &&
CC="gcc" CFLAGS="${BUILDN32}" ./build.sh cc &&


The installation must be done manually. Copy the binaries from the created directory:

cd bin.linux* &&
cp -v bjam /usr/bin/bjam-n32

64Bit

Compile the package:

sed -i -e "s/gcc/& ${BUILD64}/" \
    -e "s/g++/& ${BUILD64}/" Jambase &&
rm -v jambase.c &&
CC="gcc" CFLAGS="${BUILD64}" ./build.sh cc &&

The installation must be done manually. Copy the binaries from the created directory:

cd bin.linux* &&
cp -v bjam /usr/bin/bjam-64 &&
ln -sfv multiarch_wrapper /usr/bin/bjam