It was missing on my system since glibc-static
was not installed. Now I've installed it and I can see libc.a
in /usr/lib
.
which file in linux machine represent the gcc standard c library?
Question
Many places I read that libc.a
is the gcc standard c library. I could not find it on my system.
My system (fedora 17 - linux on intel 32 chip) has latest gcc
and following files I could find on the disk in /usr/lib
:
- libc.so (238 bytes)
- libc-2.15.so (2 MB)
- libc_nonshared.a (20.7 kB)
I checked by using -v -wl,--verbose option that these are the files linker uses for linking automatically. but there is no such file as libc.a
Is libc.a missing on my system?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow