qLinux
… a distribution study
<< Prev Build the Cross-Toolchain
Next >> Temporary Tools
Build and install Musl-1.2.2
Reading the musl manual (it's not so much) is highly recommended before continue. Beware of sections Filesystem Layout Dependencies and Additional Files Used.
Patches
Apply a patch to fix some pathes accordingly to qLinux:
patch -Np1 -i musl-1.2.2-path-qlnx-20220114.patch
Build It
Configure, compile and install musl the common way
$> ./configure --prefix=/qlnx \ --includedir=/qlnx/inc \ --syslibdir=/qlnx/lib \ --target=$LFS_TGT
$> make
$> make install
The musl-libc doesn't come with a lot of separate helper programs like the GNU libc.
<< Prev Build the Cross-Toolchain
Next >> Temporary Tools