4.9. musl-1.1.16

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.

4.9.1. Installation of musl

Configure the package:

./configure \
  CROSS_COMPILE=${CLFS_TARGET}- \
  --prefix=/ \
  --target=${CLFS_TARGET}

Compile the package:

make

Install the package:

DESTDIR=${CLFS}/cross-tools/${CLFS_TARGET} make install

4.9.2. Contents of musl

Installed Programs: ld-musl.so.0
Installed Libraries: libc.so.0, libcrypt.so.0, libdl.so.0, libm.so.0, libpthread.so.0, librt.so.0
Installed Headers: To be written...

Short Descriptions

ld-musl

The musl dynamic linker / loader

libc

The C library

libcrypt

The cryptographic library

libdl

The musl dynamic linker / loader library

libm

The math library

libpthread

The POSIX thread library

librt

The clock and timer library