MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« LibArchive 64-bit HOME Docbook 3.1 SGML DTDs »

LibArchive 32-bit

Name: LibArchive 32-bit
Summary: A library that provides a single interface for working with various compression formats
License: BSD 3-clause
Version: 3.8.4
URL: https://github.com/libarchive/libarchive/releases/download/v3.8.4/libarchive-3.8.4.tar.xz

Average Build Time: 0.3 SBU
Used Install Space: 4.5 MiB

Configuration

To configure LibArchive 32-bit for install into the build root, run the following commands:

make distclean
CC="gcc -m32 -march=i686" \
./configure --prefix=/usr                            \
            --libdir=/usr/lib                        \
            --libexecdir=/usr/lib                    \
            --docdir=/usr/share/doc/libarchive-3.8.4 \
            --disable-static

Compilation and Installation

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

make

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

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

Contents

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

Navigation    
« LibArchive 64-bit HOME Docbook 3.1 SGML DTDs »