for a specific glibc version, how could I get the functions declared in head file are implementation in which library?

Mike Frysinger vapier@gentoo.org
Mon Apr 14 02:24:00 GMT 2008


On Sunday 23 March 2008, jcyrss wrote:
>   I meant, If I want to use a function in glibc, I need to link with the
> corresponding shared library, how could I know, which library I should link
> with?

there is only one library, the C library, and gcc automatically does "-lc" for 
you.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20080414/cf7049b0/attachment.sig>


More information about the Libc-alpha mailing list