MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« GNU LibGPG-Error 64-bit HOME GNU LibGCrypt 64-bit »

GNU LibGPG-Error 32-bit

Name: GNU LibGPG-Error 32-bit
Summary: A library that defines the various error states for GnuPG
License: GPL v2.0 or later/LGPL v2.1 or later
Version: 1.56
URL: https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.56.tar.bz2

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

Configuration

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

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

Compilation and Installation

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

make

Finally, to install GNU LibGPG-Error 32-bit into the build tree, run the following commands:

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

Contents

See the contents section of the 64-bit build of the GNU LibGPG-Error package for details.

Navigation    
« GNU LibGPG-Error 64-bit HOME GNU LibGCrypt 64-bit »