MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« GNU MPC 64-bit HOME ISL 64-bit »

GNU Multi-Precision Calculation Library

Name: GNU MPC 32-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 32-bit for install into the build root, run the following commands:

make distclean
CC="gcc -m32" \
./configure --host=i686-pc-linux-gnu        \
            --prefix=/usr                   \
            --libdir=/usr/lib               \
            --libexecdir=/usr/lib           \
            --disable-static                \
            --docdir=/usr/share/doc/mpc-1.3.1

Compilation and Installation

To compile GNU MPC 32-bit, run the following command:

make

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

make DESTDIR=$PWD/DESTDIR install
rm -fv DESTDIR/usr/lib/libmpc.la
cp -Rv DESTDIR/usr/lib/* /usr/lib/

Contents

See the contents section of the 64-bit build of GNU MPC for details.

Navigation    
« GNU MPC 64-bit HOME ISL 64-bit »