10.11.2. Contents of MPFR
Installed libraries:
libmpfr.[a,so]
Installed directory:
/usr/share/doc/mpfr-3.1.5
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.5-fixes-1.patch
Prepare MPFR for compilation:
CC="gcc -isystem /usr/include" \
LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
./configure \
--prefix=/usr \
--with-gmp=/usr \
--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