(my)TinyLibC 0.0.1
little tiny pretty lib c
Loading...
Searching...
No Matches
(my) TinyLibC

just some basic functions (and why not, some non basic)

Source

Makefile Check

github repo

docs

docs headers

all func/macro

Example

gcc examples/readme.c -Iincludes/ -L. -ltinylibc
./a.out

Install

git clone https://github.com/Saverio976/tinylibc.git
cd tinylibc

Build

make

this will output the file libtinylibc.a

object are compiled to obj folder (and makefile dont relink !!!) (i'm proud of that xD)

Use it

compile your c code (change value of CC to your c compiler and PATHTINYLIBC to the right value):

export CC=gcc
export PATHTINYLIBC=path/where/libtinylibc.a/is/
$CC -L $PATHTINYLIBC -ltinylibc -I $PATHTINYLIBC/includes

Utils

there is rule in the makefile that remove some files uneeded for use only:

make release