From aa17d84e5502284cdaa4627c190088fabb6f1d31 Mon Sep 17 00:00:00 2001 From: Thomas Trepl Date: Sat, 6 Apr 2024 11:15:31 +0200 Subject: [PATCH] Add ML instructions to GDBM. Thanks to 'Zeckma' --- chapter08/gdbm.xml | 64 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/chapter08/gdbm.xml b/chapter08/gdbm.xml index 50fe62b77..bfb70f5f2 100644 --- a/chapter08/gdbm.xml +++ b/chapter08/gdbm.xml @@ -85,6 +85,70 @@ + + + + + + Installation of GDBM - 32bit + + Clean previous build: + +make distclean + + Prepare GDBM for compilation: + +CC="gcc -m32" CXX="g++ -m32" ./configure \ + --host=i686-pc-linux-gnu \ + --prefix=/usr \ + --libdir=/usr/lib32 \ + --disable-static \ + --enable-libgdbm-compat + + Compile the package: + +make + + Install the package: + +make DESTDIR=$PWD/DESTDIR install +cp -Rv DESTDIR/usr/lib32/* /usr/lib32/ +rm -rf DESTDIR + + + + + + + + + Installation of GDBM - x32bit + + Clean previous build: + +make distclean + + Prepare GDBM for compilation: + +CC="gcc -mx32" CXX="g++ -mx32" ./configure \ + --host=x86_64-pc-linux-gnux32 \ + --prefix=/usr \ + --libdir=/usr/libx32 \ + --disable-static \ + --enable-libgdbm-compat + + Compile the package: + +make + + Install the package: + +make DESTDIR=$PWD/DESTDIR install +cp -Rv DESTDIR/usr/libx32/* /usr/libx32/ +rm -rf DESTDIR + + + Contents of GDBM