A website documenting creating the build root for MidgardOS
| Navigation | ||
|---|---|---|
| « GNU Nettle 64-bit | HOME | GNU LibTasn1 64-bit » |
Name: GNU Nettle 32-bit
Summary: A low-level cryptography library
License: LGPL v3 or later/GPL v2 or later
Version: 3.10.2
URL: https://ftp.gnu.org/gnu/nettle/nettle-3.10.2.tar.gz
Average Build Time: 0.4 SBU
Used Install Space: 3.8 MiB
To configure GNU Nettle 32-bit for install into the build root, run the following commands:
make distclean
CC="gcc -m32 -march=i686" CXX="g++ -m32 -march=i686" \
./configure --host=i686-pc-linux-gnu \
--prefix=/usr \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--docdir=/usr/share/doc/nettle-3.10.2 \
--disable-static \
--enable-shared \
--enable-fat
To compile GNU Nettle 32-bit, run the following command:
make
Finally, to install GNU Nettle 32-bit into the build tree, run the following command:
make DESTDIR=$PWD/DESTDIR install
for LIB in "libhogweed.so.6.11" "libnettle.so.8.11"; do
chmod -v 755 DESTDIR/usr/lib/$LIB
done
cp -Rv DESTDIR/usr/lib/* /usr/lib/
See the contents section of the 64-bit build of GNU Nettle for details.
| Navigation | ||
|---|---|---|
| « GNU Nettle 64-bit | HOME | GNU LibTasn1 64-bit » |