Difference between revisions of "BJam"
From CBLFS
Jump to navigationJump to search(7 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
|-valign="top" | |-valign="top" | ||
!Download Source: | !Download Source: | ||
− | | http://sourceforge.net/ | + | | http://downloads.sourceforge.net/boost/boost-jam-{{BJam-Version}}.tgz |
|} | |} | ||
---- | ---- | ||
− | {{Package-Introduction| | + | {{Package-Introduction|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.}} |
== Dependencies == | == Dependencies == | ||
Line 21: | Line 21: | ||
cd bin.linux* && | cd bin.linux* && | ||
− | cp -v bjam /usr/bin | + | cp -v bjam /usr/bin |
Line 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 | |
+ | |||
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: | ||
cd bin.linux* && | cd bin.linux* && | ||
− | cp -v | + | 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 | ||
+ | |||
+ | |||
+ | 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 | ||
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: | ||
cd bin.linux* && | cd bin.linux* && | ||
− | cp -v | + | 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 |
---|
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
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