GNU C Library

From Wikipedia, the free encyclopedia

GNU C Library
Developer: GNU Project
Latest release: 2.5 / September 29, 2006
OS: Cross-platform
Use: Runtime library
License: LGPL
Website: GNU LibC

The GNU C Library, or glibc, is GNU's C standard library. It is free software and is available under the GNU Lesser General Public License. Originally written by Roland McGrath, the library's development is overseen by a committee, with Ulrich Drepper as the lead contributor and maintainer.[1]

In addition to providing the functionality required by the Single UNIX Specification, POSIX (1c, 1d, and 1j) and some of the functionality required by ISO C99, Glibc also provides extensions which have been deemed useful or necessary while developing GNU.

Glibc is used in systems which run many different kernels and different hardware architectures. Its most common use is in Linux systems on x86 hardware, but officially supported hardware includes: x86, Motorola 680x0, DEC Alpha, PowerPC, ARM, ETRAX CRIS, MIPS, s390, and SPARC. It officially supports the Hurd and Linux kernels, although there are heavily patched versions that run on the kernels of FreeBSD and NetBSD (from which Debian GNU/kFreeBSD and Debian GNU/NetBSD systems are built, respectively). It is also used (in an edited form) as the libroot of BeOS and hence Haiku.

[edit] libc6

Glibc version 2 has been referred to by Linux users as libc6, because it replaced the older Linux C library, which was itself a fork of a much earlier glibc and used versions 2 through 5. This name is less common nowadays; however, glibc on Linux systems still uses the soname libc.so.6 and some packaging systems still call it libc6 (especially those that follow the convention that a new soname means a new package name).

[edit] External links

C programming language
Libraries: C standard library | glibc | Dietlibc | uClibc | Newlib
History: Criticism of the C programming language
Language Features: String | Syntax | Preprocessor | Variable types and declarations | Functions
Dialects: C++ | Objective-C
C and Other Languages: Compatibility of C and C++ | Operators in C and C++ | Comparison of Pascal and C | C to Java byte-code compiler