Skip to content

BhJaipal/stdcpp-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MYLIBC

I started as me implementing syscalls in assembly

now I am trying to implement whole glibc

Building

make compile # create build/*.o of src
make shared  # creates lib/libmyc.so
# For C++
make stdcxx  # creates lib/libstdc++.so

Run tests

This is one of the rare occasions when I wrote tests

make test-all # run all test
# For solo test:
make test TEST=(test-name)
# as I will assume tested file is in tests/ folder with .c extension

Compiling your files

# For C
make run your-file.c # run-static for static output
# For C++
make runpp your-file.c # runpp-static for static output

About

My own libc

Resources

Stars

Watchers

Forks

Contributors