musl - weakish/cheat GitHub Wiki

C standard library for Linux.

  • MIT
  • clean, efficient and standards-conformant
  • designed from scratch and optimized for static linking

Besides embedded systems and mobile devices, it is also useful to build statically linked single binary file.

Caveats

DNS

musl libc does not use domain or search directives in the /etc/resolv.conf file.

Incompatible binaries

While there are binaries that will run on musl libc without needing to be recompiled, you will likely encounter binaries and applications that rely on specific glibc functionality that will fail to start up.