5.9. GMP-5.0.5

GMP is a library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers.

5.9.1. Installation of GMP

Prepare GMP for compilation:

CPPFLAGS=-fexceptions ./configure \
    --prefix=/cross-tools --enable-cxx --disable-static

The meaning of the new configure options:

CPPFLAGS=-fexceptions

Allows GMP to handle C++ exceptions thrown by PPL.

--enable-cxx

This tells GMP to enable C++ support.

Compile the package:

make

Install the package:

make install

Details on this package are located in Section 10.9.2, “Contents of GMP.”