The bc package contains an arbitrary precision numeric processing language.
This package is known to build and work properly using an LFS-7.3 platform.
Download (HTTP): http://alpha.gnu.org/gnu/bc/bc-1.06.95.tar.bz2
Download (FTP): ftp://alpha.gnu.org/gnu/bc/bc-1.06.95.tar.bz2
Download MD5 sum: 5126a721b73f97d715bb72c13c889035
Download size: 288 KB
Estimated disk space required: 3 MB
Estimated build time: less than 0.1 SBU (0.2 SBU if running the testsuite)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/bc
Install bc by running the following commands:
./configure --prefix=/usr --with-readline && make
To test bc, run the commands below. There is quite a bit of output, so you may want to redirect it to a file. There are a very small percentage of tests (10 of 12,144) that will indicate a roundoff error at the last digit.
echo "quit" | ./bc/bc -l Test/checklib.b
Now, as the
option enables Readline support in
Last updated on 2013-04-25 22:05:31 +0000