BJam: Difference between revisions
From CBLFS
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (5 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 | ||
|} | |} | ||
| 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 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 | |||
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: | ||
| Line 57: | 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