Details on this package are located in Section 10.11.2, “Contents of GMP.”
GMP is a library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers.
Prepare GMP for compilation:
HOST_CC=gcc CPPFLAGS=-fexceptions CC="${CC} \ ${BUILD64}" CXX="${CXX} ${BUILD64}" ./configure --prefix=/tools \ --build=${CLFS_HOST} --host=${CLFS_TARGET} \ --libdir=/tools/lib64 --enable-cxx
Compile the package:
make
Install the package:
make install
Details on this package are located in Section 10.11.2, “Contents of GMP.”