Details on this package are located in Section 10.40.2, “Contents of Bc.”
The Bc package contains an arbitrary precision numeric processing language.
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.40.2, “Contents of Bc.”