MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

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

GNU Multi-Precision Calculation Library

Name: GNU MPC 64-bit
Summary: A C library for multi-precision calculations
License: LGPL v3 or later
Version: 1.3.1
URL: https://ftp.gnu.org/gnu/mpc/mpc-1.3.1.gz

Average Build Time: 0.1 SBU
Used Install Space: 22 MiB

Configuration

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

./configure --prefix=/usr           \
            --libdir=/usr/lib64     \
            --libexecdir=/usr/lib64 \
            --disable-static        \
            --docdir=/usr/share/doc/mpc-1.3.1

Compilation and Installation

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

make
make html

Next, run the test suite:

make check

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

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

NOTE: Do not delete the unpacked sources after build.

Contents

Contents  
Installed Libraries libmpc.so
Installed Directories /usr/share/doc/mpc-1.3.1
Navigation    
« GNU MPFR 32-bit HOME GNU MPC 32-bit »