%general-entities; ]> musl-libc-&musl-libc-version; musl-libc cross tools <para>The musl-libc 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.</para> </sect2> <sect2 role="installation"> <title>Installation of musl-libc Configure the package: CC=${CLFS_TARGET}-gcc ./configure \ --prefix=${CLFS}/cross-tools/${CLFS_TARGET} \ --target=${CLFS_TARGET} \ --enable-debug Compile the package: CC=${CLFS_TARGET}-gcc make Install the package: make install Make the proper symlinks for the dynamic loader such that dynamically linked executables properly find the musl ld: ln -s libc.so ${CLFS}/cross-tools/${CLFS_TARGET}/ld-musl-arm.so.1 ln -s libc.so ${CLFS}/cross-tools/${CLFS_TARGET}/ld-musl-armhf.so.1 ln -s libc.so ${CLFS}/cross-tools/${CLFS_TARGET}/ld-musl-i386.so.1 ln -s libc.so ${CLFS}/cross-tools/${CLFS_TARGET}/ld-musl-mips.so.1 Contents of musl-libc Installed Programs Installed Libraries Installed Headers ld-musl-libc.so.0 libc.so.0, libcrypt.so.0, libdl.so.0, libm.so.0, libpthread.so.0, librt.so.0 To be written... Short Descriptions ld-musl-libc The musl-libc dynamic linker / loader ld-musl-libc libc The C library libc libcrypt The cryptographic library libcrypt libdl The musl-libc dynamic linker / loader library libdl libm The math library libm libpthread The POSIX thread library libpthread librt The clock and timer library librt