10.16. MPFR-3.1.5 N32 Libraries

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

10.16.1. Installation of MPFR

Apply a patch with upstream fixes:

patch -Np1 -i ../mpfr-3.1.5-fixes-1.patch

Prepare MPFR for compilation:

CC="gcc -isystem /usr/include ${BUILDN32}" \
    LDFLAGS="-Wl,-rpath-link,/usr/lib32:/lib32 ${BUILDN32}" \
./configure \
    --prefix=/usr \
    --libdir=/usr/lib32 \
    --docdir=/usr/share/doc/mpfr-3.1.5

Compile the package:

make
make html

Test the results:

make check

Install the package:

make install
make install-html

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