2009-02-24 23:45:59 +00: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 10:59:43 +00: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 14:45:44 +00:00
|
|
|
GNU/Hurd system, using configurations i[4567]86-*-gnu.
|
2006-03-06 10:59:43 +00:00
|
|
|
|
2012-08-03 13:42:47 +00:00
|
|
|
When working with Linux kernels, this version of the GNU C Library
|
2017-05-08 10:45:20 +00:00
|
|
|
requires Linux kernel version 3.2 or later.
|
2006-03-06 10:59:43 +00:00
|
|
|
|
2010-02-10 15:34:34 +00: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 10:59:43 +00:00
|
|
|
The GNU C Library supports these configurations for using Linux kernels:
|
|
|
|
|
2014-02-10 15:36:16 +00:00
|
|
|
aarch64*-*-linux-gnu
|
2014-02-12 14:54:57 +00:00
|
|
|
alpha*-*-linux-gnu
|
2017-11-20 20:46:17 +00:00
|
|
|
arc*-*-linux-gnu
|
2014-02-08 01:49:39 +00:00
|
|
|
arm-*-linux-gnueabi
|
2018-12-21 01:48:04 +00:00
|
|
|
csky-*-linux-gnuabiv2
|
2018-01-26 17:49:54 +00:00
|
|
|
hppa-*-linux-gnu
|
2012-04-27 21:35:47 +00:00
|
|
|
i[4567]86-*-linux-gnu
|
2012-06-30 15:27:06 +00:00
|
|
|
x86_64-*-linux-gnu Can build either x86_64 or x32
|
2014-02-16 03:07:25 +00:00
|
|
|
ia64-*-linux-gnu
|
2022-07-19 01:22:10 +00:00
|
|
|
loongarch64-*-linux-gnu Hardware floating point, LE only.
|
2014-02-10 19:05:01 +00:00
|
|
|
m68k-*-linux-gnu
|
2014-02-17 01:08:21 +00:00
|
|
|
microblaze*-*-linux-gnu
|
2014-02-10 23:30:21 +00:00
|
|
|
mips-*-linux-gnu
|
|
|
|
mips64-*-linux-gnu
|
2021-10-19 21:55:18 +00:00
|
|
|
or1k-*-linux-gnu
|
2013-10-06 23:23:41 +00:00
|
|
|
powerpc-*-linux-gnu Hardware or software floating point, BE only.
|
2013-10-05 07:02:10 +00:00
|
|
|
powerpc64*-*-linux-gnu Big-endian and little-endian.
|
2006-03-06 10:59:43 +00:00
|
|
|
s390-*-linux-gnu
|
|
|
|
s390x-*-linux-gnu
|
2020-07-14 13:29:56 +00:00
|
|
|
riscv32-*-linux-gnu
|
2017-12-27 04:55:44 +00:00
|
|
|
riscv64-*-linux-gnu
|
2012-08-07 16:40:32 +00:00
|
|
|
sh[34]-*-linux-gnu
|
2006-03-06 10:59:43 +00:00
|
|
|
sparc*-*-linux-gnu
|
|
|
|
sparc64*-*-linux-gnu
|
|
|
|
|
2012-04-27 21:35:47 +00: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 05:40:42 +00:00
|
|
|
maintainers; see https://www.gnu.org/software/libc/ for more
|
2012-04-27 21:35:47 +00:00
|
|
|
information.
|
2006-03-06 10:59:43 +00: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 05:40:42 +00:00
|
|
|
the C library at https://www.gnu.org/software/libc/.
|
2006-03-06 10:59:43 +00: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 01:27:10 +00: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 05:40:42 +00:00
|
|
|
Please see https://www.gnu.org/software/libc/bugs.html for bug reporting
|
2004-12-19 09:41:58 +00: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 01:27:10 +00:00
|
|
|
|
|
|
|
The GNU C Library is free software. See the file COPYING.LIB for copying
|
2002-08-20 21:51:55 +00:00
|
|
|
conditions, and LICENSES for notices about a few contributions that require
|
2011-10-20 21:46:24 +00:00
|
|
|
these additional notices to be distributed. License copyright years may be
|
2015-02-11 22:39:30 +00:00
|
|
|
listed using range notation, e.g., 1996-2015, indicating that every year in
|
2011-10-20 21:46:24 +00:00
|
|
|
the range, inclusive, is a copyrightable year that would otherwise be listed
|
|
|
|
individually.
|