MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« GNU nPth 64-bit HOME GNU Privacy Guard »

GNU nPth 32-bit

Name: GNU nPth 32-bit
Summary: A non-preemptive threading library implementation
License: LGPL v2.1 or later
Version: 1.8
URL: https://gnupg.org/ftp/gcrypt/npth/npth-1.8.tar.bz2

Average Build Time: less than 0.1 SBU
Used Install Space: 96 KiB

Configuration

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

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

Compilation and Installation

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

make

Finally, to install GNU nPth 32-bit into the build tree, run the following command:

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

Contents

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

Navigation    
« GNU nPth 64-bit HOME GNU Privacy Guard »