Difference between revisions of "BJam"

From CBLFS
Jump to navigationJump to search
 
(3 intermediate revisions by 2 users not shown)
Line 21: Line 21:
  
 
  cd bin.linux* &&
 
  cd bin.linux* &&
  cp -v bjam /usr/bin &&
+
  cp -v bjam /usr/bin
  
  
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 48: Line 48:
 
     -e "s/g++/& ${BUILDN32}/" Jambase &&
 
     -e "s/g++/& ${BUILDN32}/" Jambase &&
 
  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 64: Line 64:
 
     -e "s/g++/& ${BUILD64}/" Jambase &&
 
     -e "s/g++/& ${BUILD64}/" Jambase &&
 
  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:
Line 72: Line 71:
 
  cp -v bjam /usr/bin/bjam-64 &&
 
  cp -v bjam /usr/bin/bjam-64 &&
 
  ln -sfv multiarch_wrapper /usr/bin/bjam
 
  ln -sfv multiarch_wrapper /usr/bin/bjam
 +
 +
[[Category:Programming]]

Latest revision as of 15:39, 19 March 2009

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
Retrieved from "?title=BJam&oldid=17598"