/slibc

POSIX-compatible libc meant for ease of porting and performance for hobbyist OSes

Primary LanguageCBoost Software License 1.0BSL-1.0

slibc, the streaks libc

A POSIX-compatible libc meant for ease of porting and performance for hobbyist OSes, obtaining this by clean abstractions and elegant C code.

Porting

To learn about porting slibc to a new OS or architecture please refer to this document.

Building

A simple makefile is provided, featuring a PREFIX and DESTDIR variables for choosing a path for installation.

Only a C toolchain able to compile and link C and ASM and GNU Make are needed for compiling the project.

An example process would be:

make CFLAGS="-O2 -pipe"     # Optimization flags are not passed by default.
make test                   # Run the automated tests.
make PREFIX="/usr/" install # Install, feel free to use PREFIX or DESTDIR.