MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« GNU GDBM 64-bit HOME GNU GPerf »

GNU GDBM 32-bit

Name: GNU GDBM 32-bit
Summary: The GNU Database Manager
License: GPL v3
Version: 1.26
URL: https://ftp.gnu.org/gnu/gdbm/gdbm-1.26.tar.gz

Average Build Time: less than 0.2 SBU
Used Install Space: 13 MiB

Configuration

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

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

Compilation and Installation

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

make

Finally, to install GNU GDBM 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 GNU GDBM for details.

Navigation    
« GNU GDBM 64-bit HOME GNU GPerf »