]> sourceware.org Git - glibc.git/blame - README
* libio/bits/stdio2.h (__fread_chk, __fread_unlocked_chk): New
[glibc.git] / README
CommitLineData
2c1d6172 1This directory contains the version 2.6 release of the GNU C Library.
3858bf28
RM
2
3The GNU C Library is the standard system C library for all GNU systems,
4and is an important part of what makes up a GNU system. It provides the
5system API for all programs written in C and C-compatible languages such
6as C++ and Objective C; the runtime facilities of other programming
7languages use the C library to access the underlying operating system.
8
9In GNU/Linux systems, the C library works with the Linux kernel to
10implement the operating system behavior seen by user applications.
11In GNU/Hurd systems, it works with a microkernel and Hurd servers.
12
3858bf28
RM
13The GNU C Library implements much of the POSIX.1 functionality in the
14GNU/Hurd system, using configurations i[34567]86-*-gnu.
15
16When working with Linux kernels, the GNU C Library version 2.4 is
17intended primarily for use with Linux kernel version 2.6.0 and later.
18We only support using the NPTL implementation of pthreads, which is now
19the default configuration. Most of the C library will continue to work
20on older Linux kernels and many programs will not require a 2.6 kernel
21to run correctly. However, pthreads and related functionality will not
22work at all on old kernels and we do not recommend using glibc 2.4 with
23any Linux kernel prior to 2.6.
24
25All Linux kernel versions prior to 2.6.16 are known to have some bugs that
26may cause some of the tests related to pthreads in "make check" to fail.
27If you see such problems, please try the test suite on the most recent
28Linux kernel version that you can use, before pursuing those bugs further.
29
30The old LinuxThreads add-on implementation of pthreads for older Linux
31kernels is no longer supported, and we are not distributing it with this
32release. Someone has volunteered to revive its maintenance unofficially
33for at least a short time for the benefit of those using Linux kernels
34older than 2.6, but a working version is not presently available. When
35it is in working condition, we will make it available alongside future
36glibc releases. LinuxThreads will not be supported.
37
38The GNU C Library supports these configurations for using Linux kernels:
39
40 i[34567]86-*-linux-gnu
41 x86_64-*-linux-gnu
42 powerpc-*-linux-gnu
43 powerpc64-*-linux-gnu
44 s390-*-linux-gnu
45 s390x-*-linux-gnu
46 ia64-*-linux-gnu
47 sparc*-*-linux-gnu
48 sparc64*-*-linux-gnu
49
50 alpha*-*-linux-gnu Requires Linux 2.6.9 for NPTL
51 sh[34]-*-linux-gnu Requires Linux 2.6.11
52
53The code for other CPU configurations supported by volunteers outside of
54the core glibc maintenance effort is contained in the separate `ports'
2c1d6172 55add-on. You can find glibc-ports-2.6 distributed separately in the
3858bf28
RM
56same place where you got the main glibc distribution files.
57Currently these configurations are known to work using the `ports' add-on:
58
59 arm-*-linux-gnu Requires Linux 2.6.15 for NPTL, no SMP support
60 arm-*-linux-gnueabi Requires Linux 2.6.16-rc1 for NPTL, no SMP
61 mips-*-linux-gnu Requires Linux 2.6.12 for NPTL
62 mips64-*-linux-gnu Requires Linux 2.6.12 for NPTL
63
64The ports distribution also contains code for other configurations that
65do not work or have not been maintained recently, but will be of use to
66anyone trying to make a new configuration work. If you are interested
67in doing a port, please contact the glibc maintainers; see
68http://www.gnu.org/software/libc/ for more information.
69
70See the file INSTALL to find out how to configure, build, and install
71the GNU C Library. You might also consider reading the WWW pages for
72the C library at http://www.gnu.org/software/libc/.
73
74The GNU C Library is (almost) completely documented by the Texinfo manual
75found in the `manual/' subdirectory. The manual is still being updated
76and contains some known errors and omissions; we regret that we do not
77have the resources to work on the manual as much as we would like. For
78corrections to the manual, please file a bug in the `manual' component,
79following the bug-reporting instructions below. Please be sure to check
80the manual in the current development sources to see if your problem has
81already been corrected.
28f540f4
RM
82
83The file NOTES contains a description of the feature-test macros used
84in the GNU C library, explaining how you can tell the library what
85facilities you want it to make available.
86
720817e7
RM
87Please see http://www.gnu.org/software/libc/bugs.html for bug reporting
88information. We are now using the Bugzilla system to track all bug reports.
89This web page gives detailed information on how to report bugs properly.
28f540f4
RM
90
91The GNU C Library is free software. See the file COPYING.LIB for copying
c6c6dd48
RM
92conditions, and LICENSES for notices about a few contributions that require
93these additional notices to be distributed.
This page took 0.211519 seconds and 5 git commands to generate.