A website documenting creating the build root for MidgardOS
| Navigation | ||
|---|---|---|
| « LibB2 64-bit | HOME | LibArchive 64-bit » |
Name: LibB2 32-bit
Summary: A C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp hashes
License: CC0 v1.0
Version: 0.98.1
URL: https://github.com/BLAKE2/libb2/releases/download/v0.98.1/libb2-0.98.1.tar.gz
Average Build Time: less than 0.1 SBU
Used Install Space: 52 KiB
To configure LibB2 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/libb2-0.98.1 \
--disable-static \
--disable-native \
--enable-shared
To compile LibB2 32-bit, run the following command:
make
Finally, to install LibB2 32-bit into the build tree, run the following commands:
make DESTDIR=$PWD/DESTDIR install
rm -fv DESTDIR/usr/lib/libb2.la
cp -Rv DESTDIR/usr/lib/* /usr/lib/
See the contents section of the 64-bit build of LibB2 for details.
| Navigation | ||
|---|---|---|
| « LibB2 64-bit | HOME | LibArchive 64-bit » |