17 lines
725 B
Org Mode
17 lines
725 B
Org Mode
|
#+TITLE: GRU olibc - standart 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
|
||
|
- then run ~../tests/test.sh~ if you are in ~src/~ directory
|
||
|
- 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~
|