10.12. MPFR-3.1.2 32 Bit Libraries

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

10.12.1. Installation of MPFR

Prepare MPFR for compilation:

CC="gcc -isystem /usr/include ${BUILD32}" \
LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib ${BUILD32}" \
  ./configure --prefix=/usr --host=${CLFS_TARGET32} --enable-shared

Compile the package:



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.13.2, “Contents of MPFR.”