How do you exclude libc using gcc?
Hello. I searched the FAQ and the forums for "libc" and did not come across anything relevant.
Perhaps someone knows of a flag to pass to gcc so that libc is not included with your code?
I am aware that libc is the standard C library which most people use, but I am not using it in some of my programs, so, no need to include it in the executable if it isn't in use (just bloats it out).
There must be some way to exclude libc from getting compiled in with your code.