Difference between revisions of "Bc"
From CBLFS
Jump to navigationJump to searchLine 72: | Line 72: | ||
make install | make install | ||
− | + | = Contents = | |
The bc package contains an arbitrary precision numeric processing language. | The bc package contains an arbitrary precision numeric processing language. | ||
Line 82: | Line 82: | ||
Installed Directories: None. | Installed Directories: None. | ||
− | Short Descriptions | + | === Short Descriptions === |
− | bc is a calculator. | + | bc: is a calculator. |
− | dc is a reverse-polish calculator. | + | dc: is a reverse-polish calculator. |
Revision as of 02:07, 4 October 2006
Download Source: | http://ftp.gnu.org/gnu/bc/bc-1.06.tar.gz |
---|
Contents
Dependencies
Non-Multilib
Compile the package:
sed -i '/PROTO.*readline/d' bc/scan.l && sed -i '/flex -I8/s/8//' configure && sed -i '/stdlib/a #include <string.h>' lib/number.c && sed -i 's/program.*save/static &/' bc/load.c && ./configure --prefix=/usr --with-readline && make
Install the package
make install
Multilib
This package does not provide any libraries so only one installation is needed.
32Bit
Compile the package:
sed -i '/PROTO.*readline/d' bc/scan.l && sed -i '/flex -I8/s/8//' configure && sed -i '/stdlib/a #include <string.h>' lib/number.c && sed -i 's/program.*save/static &/' bc/load.c && CC="gcc ${BUILD32}" ./configure --prefix=/usr --with-readline && make
Install the package
make install
N32
Compile the package:
sed -i '/PROTO.*readline/d' bc/scan.l && sed -i '/flex -I8/s/8//' configure && sed -i '/stdlib/a #include <string.h>' lib/number.c && sed -i 's/program.*save/static &/' bc/load.c && CC="gcc ${BUILDN32}" ./configure --prefix=/usr --with-readline && make
Install the package
make install
64Bit
Compile the package:
sed -i '/PROTO.*readline/d' bc/scan.l && sed -i '/flex -I8/s/8//' configure && sed -i '/stdlib/a #include <string.h>' lib/number.c && sed -i 's/program.*save/static &/' bc/load.c && CC="gcc ${BUILD64}" ./configure --prefix=/usr --with-readline && make
Install the package
make install
Contents
The bc package contains an arbitrary precision numeric processing language.
Installed Programs: bc, dc
Installed Libraries: None.
Installed Directories: None.
Short Descriptions
bc: is a calculator.
dc: is a reverse-polish calculator.