Details on this package are located in Section 10.10.2, “Contents of GMP.”
GMP is a library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers.
This package and the next two - MPFR and MPC - will be installed
into /cross-tools
because GCC
requires them to build.
Prepare GMP for compilation:
./configure \ --prefix=/cross-tools \ --enable-cxx \ --disable-static
The meaning of the new configure option:
--enable-cxx
This tells GMP to enable C++ support.
--disable-static
This tells the GMP package not to compile or install static libraries, which are not needed for the Cross-Tools
Compile the package:
make
Install the package:
make install
Details on this package are located in Section 10.10.2, “Contents of GMP.”