Details on this package are located in Section 10.17.2, “Contents of MPFR.”
The MPFR library is a C library for multiple-precision floating-point computations with correct rounding.
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 ${BUILDN32}" \ LDFLAGS="-Wl,-rpath-link,/usr/lib32:/lib32 ${BUILDN32}" \ ./configure --prefix=/usr --libdir=/usr/lib32 \ --docdir=/usr/share/doc/mpfr-3.1.2
Compile the package:
make
The test suite for MPFR is considered critical. Do not skip it under any circumstance.
Test the results:
make check
Install the package:
make install
Details on this package are located in Section 10.17.2, “Contents of MPFR.”