MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« ZStd 64-bit HOME GNU LibUniString 64-bit »

ZStd 32-bit

Name: ZStd 32-bit
Summary: Real-time compression library
License: BSD-3-Clause AND GPL-2.0-only
Version: 1.5.7
URL: https://github.com/facebook/zstd/releases/download/v1.5.7/zstd-1.5.7.tar.gz

Average Build Time: 0.4 SBU
Used Install Space: 86 MiB

Configuration

The ZStd sources don’t have a standard configuration script.

Compilation and Installation

To compile ZStd 32-bit, run the following command:

make clean
CC="gcc -m32" make prefix=/usr libdir=/usr/lib

Finally, to install ZStd 32-bit into the build tree, run the following command:

make prefix=/usr DESTDIR=$PWD/DESTDIR install
cp -Rv DESTDIR/usr/lib/* /usr/lib/
rm -fv /usr/lib/libzstd.a

Contents

See the contents section of the 64-bit build of ZStd for details.

Navigation    
« ZStd 64-bit HOME GNU LibUniString 64-bit »