6.4. MPFR-3.1.2

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

6.4.1. Installation of MPFR

Apply a patch with upstream fixes:

patch -Np1 -i ../mpfr-3.1.2-fixes-4.patch

Prepare MPFR for compilation:

./configure --prefix=/tools \
    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    --libdir=/tools/lib64

Compile the package:

make

Install the package:

make install

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