musl-xnu is a port of musl libc to the macOS XNU kernel.
The only build-time prerequisites for musl-xnu are GNU Make and Xcode.
Tested with macOS-10.12.4, clang-802.0.42 and ld64-278.4.
musl-xnu can be built for the following versions of macOS:
- macOS (10.12 Sierra x86_64)
To build musl-xnu:
-
Run "make -f Makefile.xnu" to compile.
-
Run "make -f Makefile.xnu examples" to build the test programs