Which library contans the malloc object code and what is the name of the main library that C links to?
Ian Lance Taylor
iant@google.com
Fri Apr 20 19:46:00 GMT 2007
Ray Hurst <rhurst2@cox.net> writes:
> Which library contains the malloc object code?
Normally the C library.
> What is the name of the main C library the gcc links to?
libc. Often named /usr/lib/libc.a and/or /usr/lib/libc.so.
On a GNU/Linux system, the C library is glibc; see
http://sourceware.org/glibc/.
Ian
More information about the Gcc-help
mailing list