function library (from scratch)?
Hi. I've been programming in C for about 6 months and I'm curious to know how I would go about making a function library completely from scratch? (without #including anything from the standard library)
I understand the general concept behind how libraries work...source code is compiled, then functions are linked in from the library (either at runtime or at compilation i think) and then you have an executable.
I'm fairly new to programming so i don't know if i'm getting myself "too deep" here thinking about this, or if I have to base my library off of another one. I'm guessing that the compiler, OS, and architecture would have to be kept in mind too...I'm using gcc with Debian, and the architecture is x86 based.
Thanks for help in advance!:)