Skip to content
/ slibc Public
forked from streaksu/slibc

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

License

Notifications You must be signed in to change notification settings

CPL-1/slibc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.5%
  • C++ 1.6%
  • Makefile 1.1%
  • Assembly 0.8%