Tuesday, February 17, 2009

libc vs. glibc

[引用]
> Can anyone enlighten me on this: What is the difference between libc
> and glibc?

I'm sure half the people on this list can answer this :) - but here
goes.

Libc the C library that is used by basically every Linux/UNIX program to
talk to the kernel. Glibc is a version of Libc by the GNU project.

That doesn't really answer the question, though, because Linux
distributions used to come with 'libc5' and now they come with 'glibc2'
or 'libc6'. Glibc and libc6 refer to the same thing, and they are really
just a newer version of libc written by different people.
[/引用]

也就是说libc,libc6,glibc指的是同一个东西:POSIX,ISO C等函数库。而不是libc仅指ISO C函数库。
glibc-doc也就是libc6的文档。manpages-dev提供了man参考。

No comments: