2009-02-25 07:45:59 +08:00
|
|
|
This directory contains the sources of the GNU C Library.
|
|
|
|
See the file "version.h" for what release version you have.
|
2006-03-06 18:59:43 +08:00
|
|
|
|
|
|
|
The GNU C Library is the standard system C library for all GNU systems,
|
|
|
|
and is an important part of what makes up a GNU system. It provides the
|
|
|
|
system API for all programs written in C and C-compatible languages such
|
|
|
|
as C++ and Objective C; the runtime facilities of other programming
|
|
|
|
languages use the C library to access the underlying operating system.
|
|
|
|
|
|
|
|
In GNU/Linux systems, the C library works with the Linux kernel to
|
|
|
|
implement the operating system behavior seen by user applications.
|
|
|
|
In GNU/Hurd systems, it works with a microkernel and Hurd servers.
|
|
|
|
|
|
|
|
The GNU C Library implements much of the POSIX.1 functionality in the
|
2018-04-02 22:45:44 +08:00
|
|
|
GNU/Hurd system, using configurations i[4567]86-*-gnu.
|
2006-03-06 18:59:43 +08:00
|
|
|
|
2012-08-03 21:42:47 +08:00
|
|
|
When working with Linux kernels, this version of the GNU C Library
|
2017-05-08 18:45:20 +08:00
|
|
|
requires Linux kernel version 3.2 or later.
|
2006-03-06 18:59:43 +08:00
|
|
|
|
2010-02-10 23:34:34 +08:00
|
|
|
Also note that the shared version of the libgcc_s library must be
|
|
|
|
installed for the pthread library to work correctly.
|
|
|
|
|
2006-03-06 18:59:43 +08:00
|
|
|
The GNU C Library supports these configurations for using Linux kernels:
|
|
|
|
|
2014-02-10 23:36:16 +08:00
|
|
|
aarch64*-*-linux-gnu
|
2014-02-12 22:54:57 +08:00
|
|
|
alpha*-*-linux-gnu
|
2014-02-08 09:49:39 +08:00
|
|
|
arm-*-linux-gnueabi
|
2018-12-21 09:48:04 +08:00
|
|
|
csky-*-linux-gnuabiv2
|
2018-01-27 01:49:54 +08:00
|
|
|
hppa-*-linux-gnu
|
2012-04-28 05:35:47 +08:00
|
|
|
i[4567]86-*-linux-gnu
|
2012-06-30 23:27:06 +08:00
|
|
|
x86_64-*-linux-gnu Can build either x86_64 or x32
|
2014-02-16 11:07:25 +08:00
|
|
|
ia64-*-linux-gnu
|
2014-02-11 03:05:01 +08:00
|
|
|
m68k-*-linux-gnu
|
2014-02-17 09:08:21 +08:00
|
|
|
microblaze*-*-linux-gnu
|
2014-02-11 07:30:21 +08:00
|
|
|
mips-*-linux-gnu
|
|
|
|
mips64-*-linux-gnu
|
2013-10-07 07:23:41 +08:00
|
|
|
powerpc-*-linux-gnu Hardware or software floating point, BE only.
|
2013-10-05 15:02:10 +08:00
|
|
|
powerpc64*-*-linux-gnu Big-endian and little-endian.
|
2006-03-06 18:59:43 +08:00
|
|
|
s390-*-linux-gnu
|
|
|
|
s390x-*-linux-gnu
|
2017-12-27 12:55:44 +08:00
|
|
|
riscv64-*-linux-gnu
|
2012-08-08 00:40:32 +08:00
|
|
|
sh[34]-*-linux-gnu
|
2006-03-06 18:59:43 +08:00
|
|
|
sparc*-*-linux-gnu
|
|
|
|
sparc64*-*-linux-gnu
|
|
|
|
|
2012-04-28 05:35:47 +08:00
|
|
|
If you are interested in doing a port, please contact the glibc
|
Prefer https to http for gnu.org and fsf.org URLs
Also, change sources.redhat.com to sourceware.org.
This patch was automatically generated by running the following shell
script, which uses GNU sed, and which avoids modifying files imported
from upstream:
sed -ri '
s,(http|ftp)(://(.*\.)?(gnu|fsf|sourceware)\.org($|[^.]|\.[^a-z])),https\2,g
s,(http|ftp)(://(.*\.)?)sources\.redhat\.com($|[^.]|\.[^a-z]),https\2sourceware.org\4,g
' \
$(find $(git ls-files) -prune -type f \
! -name '*.po' \
! -name 'ChangeLog*' \
! -path COPYING ! -path COPYING.LIB \
! -path manual/fdl-1.3.texi ! -path manual/lgpl-2.1.texi \
! -path manual/texinfo.tex ! -path scripts/config.guess \
! -path scripts/config.sub ! -path scripts/install-sh \
! -path scripts/mkinstalldirs ! -path scripts/move-if-change \
! -path INSTALL ! -path locale/programs/charmap-kw.h \
! -path po/libc.pot ! -path sysdeps/gnu/errlist.c \
! '(' -name configure \
-execdir test -f configure.ac -o -f configure.in ';' ')' \
! '(' -name preconfigure \
-execdir test -f preconfigure.ac ';' ')' \
-print)
and then by running 'make dist-prepare' to regenerate files built
from the altered files, and then executing the following to cleanup:
chmod a+x sysdeps/unix/sysv/linux/riscv/configure
# Omit irrelevant whitespace and comment-only changes,
# perhaps from a slightly-different Autoconf version.
git checkout -f \
sysdeps/csky/configure \
sysdeps/hppa/configure \
sysdeps/riscv/configure \
sysdeps/unix/sysv/linux/csky/configure
# Omit changes that caused a pre-commit check to fail like this:
# remote: *** error: sysdeps/powerpc/powerpc64/ppc-mcount.S: trailing lines
git checkout -f \
sysdeps/powerpc/powerpc64/ppc-mcount.S \
sysdeps/unix/sysv/linux/s390/s390-64/syscall.S
# Omit change that caused a pre-commit check to fail like this:
# remote: *** error: sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: last line does not end in newline
git checkout -f sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S
2019-09-07 13:40:42 +08:00
|
|
|
maintainers; see https://www.gnu.org/software/libc/ for more
|
2012-04-28 05:35:47 +08:00
|
|
|
information.
|
2006-03-06 18:59:43 +08:00
|
|
|
|
|
|
|
See the file INSTALL to find out how to configure, build, and install
|
|
|
|
the GNU C Library. You might also consider reading the WWW pages for
|
Prefer https to http for gnu.org and fsf.org URLs
Also, change sources.redhat.com to sourceware.org.
This patch was automatically generated by running the following shell
script, which uses GNU sed, and which avoids modifying files imported
from upstream:
sed -ri '
s,(http|ftp)(://(.*\.)?(gnu|fsf|sourceware)\.org($|[^.]|\.[^a-z])),https\2,g
s,(http|ftp)(://(.*\.)?)sources\.redhat\.com($|[^.]|\.[^a-z]),https\2sourceware.org\4,g
' \
$(find $(git ls-files) -prune -type f \
! -name '*.po' \
! -name 'ChangeLog*' \
! -path COPYING ! -path COPYING.LIB \
! -path manual/fdl-1.3.texi ! -path manual/lgpl-2.1.texi \
! -path manual/texinfo.tex ! -path scripts/config.guess \
! -path scripts/config.sub ! -path scripts/install-sh \
! -path scripts/mkinstalldirs ! -path scripts/move-if-change \
! -path INSTALL ! -path locale/programs/charmap-kw.h \
! -path po/libc.pot ! -path sysdeps/gnu/errlist.c \
! '(' -name configure \
-execdir test -f configure.ac -o -f configure.in ';' ')' \
! '(' -name preconfigure \
-execdir test -f preconfigure.ac ';' ')' \
-print)
and then by running 'make dist-prepare' to regenerate files built
from the altered files, and then executing the following to cleanup:
chmod a+x sysdeps/unix/sysv/linux/riscv/configure
# Omit irrelevant whitespace and comment-only changes,
# perhaps from a slightly-different Autoconf version.
git checkout -f \
sysdeps/csky/configure \
sysdeps/hppa/configure \
sysdeps/riscv/configure \
sysdeps/unix/sysv/linux/csky/configure
# Omit changes that caused a pre-commit check to fail like this:
# remote: *** error: sysdeps/powerpc/powerpc64/ppc-mcount.S: trailing lines
git checkout -f \
sysdeps/powerpc/powerpc64/ppc-mcount.S \
sysdeps/unix/sysv/linux/s390/s390-64/syscall.S
# Omit change that caused a pre-commit check to fail like this:
# remote: *** error: sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: last line does not end in newline
git checkout -f sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S
2019-09-07 13:40:42 +08:00
|
|
|
the C library at https://www.gnu.org/software/libc/.
|
2006-03-06 18:59:43 +08:00
|
|
|
|
|
|
|
The GNU C Library is (almost) completely documented by the Texinfo manual
|
|
|
|
found in the `manual/' subdirectory. The manual is still being updated
|
|
|
|
and contains some known errors and omissions; we regret that we do not
|
|
|
|
have the resources to work on the manual as much as we would like. For
|
|
|
|
corrections to the manual, please file a bug in the `manual' component,
|
|
|
|
following the bug-reporting instructions below. Please be sure to check
|
|
|
|
the manual in the current development sources to see if your problem has
|
|
|
|
already been corrected.
|
1995-02-18 09:27:10 +08:00
|
|
|
|
Prefer https to http for gnu.org and fsf.org URLs
Also, change sources.redhat.com to sourceware.org.
This patch was automatically generated by running the following shell
script, which uses GNU sed, and which avoids modifying files imported
from upstream:
sed -ri '
s,(http|ftp)(://(.*\.)?(gnu|fsf|sourceware)\.org($|[^.]|\.[^a-z])),https\2,g
s,(http|ftp)(://(.*\.)?)sources\.redhat\.com($|[^.]|\.[^a-z]),https\2sourceware.org\4,g
' \
$(find $(git ls-files) -prune -type f \
! -name '*.po' \
! -name 'ChangeLog*' \
! -path COPYING ! -path COPYING.LIB \
! -path manual/fdl-1.3.texi ! -path manual/lgpl-2.1.texi \
! -path manual/texinfo.tex ! -path scripts/config.guess \
! -path scripts/config.sub ! -path scripts/install-sh \
! -path scripts/mkinstalldirs ! -path scripts/move-if-change \
! -path INSTALL ! -path locale/programs/charmap-kw.h \
! -path po/libc.pot ! -path sysdeps/gnu/errlist.c \
! '(' -name configure \
-execdir test -f configure.ac -o -f configure.in ';' ')' \
! '(' -name preconfigure \
-execdir test -f preconfigure.ac ';' ')' \
-print)
and then by running 'make dist-prepare' to regenerate files built
from the altered files, and then executing the following to cleanup:
chmod a+x sysdeps/unix/sysv/linux/riscv/configure
# Omit irrelevant whitespace and comment-only changes,
# perhaps from a slightly-different Autoconf version.
git checkout -f \
sysdeps/csky/configure \
sysdeps/hppa/configure \
sysdeps/riscv/configure \
sysdeps/unix/sysv/linux/csky/configure
# Omit changes that caused a pre-commit check to fail like this:
# remote: *** error: sysdeps/powerpc/powerpc64/ppc-mcount.S: trailing lines
git checkout -f \
sysdeps/powerpc/powerpc64/ppc-mcount.S \
sysdeps/unix/sysv/linux/s390/s390-64/syscall.S
# Omit change that caused a pre-commit check to fail like this:
# remote: *** error: sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: last line does not end in newline
git checkout -f sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S
2019-09-07 13:40:42 +08:00
|
|
|
Please see https://www.gnu.org/software/libc/bugs.html for bug reporting
|
2004-12-19 17:41:58 +08:00
|
|
|
information. We are now using the Bugzilla system to track all bug reports.
|
|
|
|
This web page gives detailed information on how to report bugs properly.
|
1995-02-18 09:27:10 +08:00
|
|
|
|
|
|
|
The GNU C Library is free software. See the file COPYING.LIB for copying
|
2002-08-21 05:51:55 +08:00
|
|
|
conditions, and LICENSES for notices about a few contributions that require
|
2011-10-21 05:46:24 +08:00
|
|
|
these additional notices to be distributed. License copyright years may be
|
2015-02-12 06:39:30 +08:00
|
|
|
listed using range notation, e.g., 1996-2015, indicating that every year in
|
2011-10-21 05:46:24 +08:00
|
|
|
the range, inclusive, is a copyrightable year that would otherwise be listed
|
|
|
|
individually.
|