6.4. MPFR-2.4.1

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

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

CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    --enable-shared

Compile the package:

make

Install the package:

make install

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