Details on this package are located in Section 10.11.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:
LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
./configure --prefix=/cross-tools \
    --disable-static --with-gmp=/cross-tools
        The meaning of the new configure options:
LDFLAGS="-Wl,-rpath,/cross-tools/lib"
            
                This tells configure to search in
                /cross-tools for libraries.
              
--with-gmp=/cross-tools
            This tells configure where to find GMP.
Compile the package:
make
Install the package:
make install
Details on this package are located in Section 10.11.2, “Contents of MPFR.”