MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

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

LibXCrypt 32-bit

Name: LibXCrypt 32-bit
Summary: An enhanced encryption library for a number of cryptographic hashing algorithms
License: LGPL v2.1
Version: 4.4.38
URL: https://github.com/besser82/libxcrypt/releases/download/v4.4.38/libxcrypt-4.4.38.tar.xz

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

Configuration

To configure LibXCrypt 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       \
            --enable-hashes=all         \
            --enable-obsolete-api=suse  \
            --disable-static            \
            --disable-failure-tokens

Compilation and Installation

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

make

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

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

Contents

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

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