7.2. Bc-1.06.95

The Bc package contains an arbitrary precision numeric processing language.

7.2.1. Installation of Bc

We will install a bc program that can run on the host system, as this is needed to compile the kernel.

Prepare Bc for compilation:

CC=gcc ./configure --prefix=/cross-tools

The meaning of the configure option:

CC=gcc

This ensures that we use the host's compiler to build Bc, since we need it to run on the host system.

Compile the package:

make

Install the package:

make install

Details on this package are located in Section 10.38.2, “Contents of Bc.”