MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« LibNSL2 64-bit HOME TCP Wrappers 64-bit »

LibNSL2 32-bit

Name: LibNSL2 32-bit
Summary: The NIS/YP API library
License: LGPL v2.1
Version: 2.0.1
URL: https://github.com/thkukuk/libnsl/releases/download/v2.0.1/libnsl-2.0.1.tar.xz

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

Configuration

To configure the LibNSL2 32-bit package for compilation, run the following commands:

make distclean
CC="gcc -m32" \
./configure --host=i686-pc-linux-gnu \
            --prefix=/usr            \
            --libdir=/usr/lib        \
            --libexecdir=/usr/lib    \
            --sysconfdir=/etc        \
            --disable-static

Compilation and Installation

To compile LibNSL2 32-bit, run the following command:

make

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

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 LibNSL2 for details.

Navigation    
« LibNSL2 64-bit HOME TCP Wrappers 64-bit »