# musl-&musl-version;

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.

## 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

## Contents of musl

Installed Programs Installed Libraries Installed Headers
- ld-musl.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`

- 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