10.14. MPFR-3.1.2 64 Bit

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

10.14.1. Installation of MPFR

Apply a patch with upstream fixes:

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

Prepare MPFR for compilation:

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

Compile the package:

make

Test the results:

make check

Install the package:

make install

10.14.2. Contents of MPFR

Installed libraries: libmpfr.[a,so]
Installed directory: /usr/share/doc/mpfr-3.1.2

Short Descriptions

libmpfr

The Multiple Precision Floating-Point Reliable Library.