Details on this package are located in Section 4.8.2, “Contents of musl.”
The musl package contains the main C library. This library provides the basic routines for allocating memory, searching directories, opening and closing files, reading and writing files, string handling, pattern matching, arithmetic, and so on. We build it again here so that it can be installed into our targetfs sysroot but this time we only build the shared object version.
Configure the package:
./configure \ CROSS_COMPILE=${CLFS_TARGET}- \ --prefix=/ \ --disable-static \ --target=${CLFS_TARGET}
Compile the package:
make
Install just the shared library:
DESTDIR=${CLFS}/targetfs make install-libs
Details on this package are located in Section 4.8.2, “Contents of musl.”