MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« LibCap-NG 64-bit HOME LibTIRPC 64-bit »

LibCap-NG 32-bit

Name: LibCap-NG 32-bit
Summary: An alternate POSIX capabilities library
License: GPL v2/LGPL v2.1
Version: 0.8.5
URL: https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-0.8.5.tar.gz

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

Configuration

To configure LibCap-NG 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

Compilation and Installation

To compile LibCap-NG 32-bit, run the following command:

make

Finally, to install libcap2 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 LibCap-NG for details.

Navigation    
« LibCap-NG 64-bit HOME LibTIRPC 64-bit »