[lfs-dev] bc ready
gavin.d.howard at gmail.com
Mon Jul 8 10:56:54 PDT 2019
I am the author of the bc that is going to be put in
(http://wiki.linuxfromscratch.org/lfs/ticket/4436), and it's time for
me to say that it is ready to be put in. The reason: I believe that it
is complete, so I have switched from active development to active
The instructions are still the same:
Prepare Bc for compilation:
PREFIX=/usr CC=gcc CFLAGS="-std=c99" ./configure.sh -G -O3
The meaning of the configure options:
Like --prefix in other packages.
Set the C compiler. This package defaults to c99, which doesn't exist.
Sets the C standard that gcc uses to be C99.
Disables tests in the test suite that requires another bc to
generate results for.
Enables optimization. This bc gets an order of magnitude more
performance from optimizations, and these optimizations have been
Compile the package:
If desired, test bc:
Install the package:
The URL to download from is:
Checksums are below.
$ sha512sum bc-2.1.0.tar.xz
$ sha256sum bc-2.1.0.tar.xz
$ stat -c '%s %n' bc-2.1.0.tar.xz
I would be happy to help integrate this into LFS.
More information about the lfs-dev