In the gcc manual it is given that “The C standard library itself
is stored in ‘/usr/lib/libc.a’”. I have gcc installed, but could not find libc.a at the said location. Curious to know where is it located.
I find many .so files in /usr/lib location. What are those?
A few things:
.afiles are static libraries,.someans shared object and is the Linux equivalent of a DLLHope that clears it up for you. As for the location, it’s almost certainly going to be in
/usr/lib/libc.aand / or/usr/lib/libc.so. Like I said, the .so one is the more common.