%general-entities; ]> musl-&musl-version; musl final system <para>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.</para> </sect2> <sect2 role="installation"> <title>Installation of musl 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 <para>Details on this package are located in <xref linkend="contents-musl" role="."/></para> </sect2> </sect1>