GRU olibc - standart C11 library implementation
Go to file
g1n 094b6b5a18
Happy New 2022 Year
2022-01-01 10:40:49 +02:00
examples Add basic printf and vprintf implementations (and deleted put_int) 2021-12-24 16:19:51 +02:00
src Implemented fprintf using sprintf 2021-12-31 14:02:11 +02:00
tests Add basic printf and vprintf implementations (and deleted put_int) 2021-12-24 16:19:51 +02:00
.gitignore Initial commit 2021-12-19 10:35:56 +02:00
LICENSE Happy New 2022 Year 2022-01-01 10:40:49 +02:00
README.org Improved script for testing and fixed it to use /bin/sh 2021-12-19 18:40:03 +02:00

README.org

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 (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