Skip to content

deovaliandro/own-static-c-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

ar rcs libmy.a mylib.o

to check:

ar t libmy.a

for use:

gcc main.c -L. -lmy -o main

and for simple:

cd lib && gcc -c stack.c std.c && ar rcs libdeo.a stack.o std.o && mv libdeo.a .. && cd ..  && gcc main.c -L. -ldeo -o main && ./main

About

Latihan membuat library sendiri

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published