6.5.2. Contents of GMP
Installed Libraries:
libgmp.[a,so]
GMP is a library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers.
Prepare GMP for compilation:
CPPFLAGS=-fexceptions ./configure --build=${CLFS_HOST} \ --prefix=${CLFS}/cross-tools
Compile the package:
make
Some versions of GCC (notably 4.3.2 which ships with Debian 5) will compile GMP without errors but in a subtly broken way. To ensure GMP is compiled and functioning correctly, optionally run the test suite:
make check
Install the package:
make install