5.6. MPFR-2.4.1

The MPFR library is a C library for multiple-precision floating-point computations with correct rounding.

5.6.1. Installation of MPFR

The following patch contains a number of updates to the 2.4.1 branch by the MPFR developers:

patch -Np1 -i ../mpfr-2.4.1-branch_update-2.patch

Prepare MPFR for compilation:

LDFLAGS="-Wl,-rpath,${CLFS}/cross-tools/lib" \
./configure --prefix=${CLFS}/cross-tools \
    --enable-shared --with-gmp=${CLFS}/cross-tools

Compile the package:

make

Install the package:

make install

Details on this package are located in Section 6.6.3, “Contents of MPFR.”