MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« GNU GMP 32-bit HOME GNU MPFR 32-bit »

GNU Multi-Precision Floating-Point with Rounding Library

Name: MPFR 64-bit
Summary: A C library for multi-precision floating-point calculations
License: LGPL v3 or later
Version: 4.2.2
URL: https://ftp.gnu.org/gnu/mpfr/mpfr-4.2.2.tar.xz

Average Build Time: 0.2 SBU
Used Install Space: 43 MiB

Configuration

To configure GNU MPFR 64-bit for install into the build root, run the following command:

./configure --prefix=/usr           \
            --libdir=/usr/lib64     \
            --libexecdir=/usr/lib64 \
            --disable-static        \
            --enable-shared         \
            --enable-thread-safe    \
            --docdir=/usr/share/doc/mpfr-4.2.2

Compilation and Installation

To compile GNU MPFR 64-bit, run the following commands:

make
make html

Next, run the test suite:

make check

Finally, to install GNU MPFR 64-bit into the build tree, run the following commands:

make install
make install-html
rm -fv /usr/lib64/libmpfr.la

NOTE: Do not delete the unpacked sources after build.

Contents

Contents  
Installed Libraries libmpfr.so
Installed Directories /usr/share/doc/mpfr-4.2.2
Navigation    
« GNU GMP 32-bit HOME GNU MPFR 32-bit »