5.8. GMP-5.0.5

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

5.8.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:


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


This tells GMP to enable C++ support.

Compile the package:


Install the package:

make install

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