olibc/README.org

16 lines
707 B
Org Mode

#+TITLE: GRU olibc - standard C11 library implementation
* Dependencies
- GRU liblinux
* Setup
- run ~make~ with path to liblinux as arguments (LIBLINUXHEADERS for path with liblinux header files and LIBLINUXDIR for path to directory where built liblinux (.a or .so file) is stored) in ~src/~ (~olibc.a~ will be in ~builds/~ directory)
- to build examples run ~make examples~ with same arguments
* Tests
- run ~make tests~ with same arguments (it will automaticly run script for testing)
- this will compare result from olibc with libc that installed by default on your machine
* Usage
- to use this library add ~-Ipath/to/olibcheadersdir -Lpath/to/olibcdir -l:olibc.a~ to your ~CFLAGS~