Difference between revisions of "BJam"
From CBLFS
Jump to navigationJump to searchLine 30: | Line 30: | ||
Compile the package: | 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 && | ||
make | make | ||
Line 38: | Line 39: | ||
cd bin.linux* && | cd bin.linux* && | ||
− | cp -v bjam /usr/bin/bjam-32 | + | cp -v bjam /usr/bin/bjam-32 |
− | |||
− | |||
=== N32 === | === 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 && | ||
+ | make | ||
+ | |||
+ | The installation must be done manually. Copy the binaries from the created directory: | ||
+ | |||
+ | cd bin.linux* && | ||
+ | cp -v bjam /usr/bin/bjam-n32 | ||
=== 64Bit === | === 64Bit === | ||
+ | |||
Compile the package: | Compile the package: | ||
− | ./build.sh | + | sed -i -e "s/gcc/& ${BUILD64}/" \ |
+ | -e "s/g++/& ${BUILD64}/" Jambase && | ||
+ | rm -v jambase.c && | ||
+ | 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 08:41, 27 January 2008
Download Source: | http://downloads.sourceforge.net/boost/boost-jam-3.1.17.tgz |
---|
Contents
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 && make
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 && make
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 && make
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