Go to file
Jonathan Wakely 21244c70c2 sys/cdefs.h: Do not require C++ compilers to define __STDC__
The check for an ISO C compiler assumes that anything GCC-like will
define __STDC__, even if it's actually a C++ compiler. That's currently
true for G++ and compilers like clang++ that also define __GNUC__, but
it might not always be true.

The C++ standard leaves it implementation-defined whether or not
__STDC__ is defined by C++ compilers. And really the check should be
"ISO C or ISO C++ conforming compiler" anyway. So only give an error if
__GNUC__ is defined and neither __STDC__ nor __cplusplus is defined.

Reviewed-by: Fangrui Song <maskray@google.com>
2022-05-16 16:48:51 +01:00
argp
assert
benchtests benchtests: Add wcrtomb microbenchmark 2022-05-06 18:16:43 +05:30
bits
catgets
ChangeLog.old
conform
crypt
csu
ctype
debug wcrtomb: Make behavior POSIX compliant 2022-05-13 19:15:46 +05:30
dirent
dlfcn dlfcn: Implement the RTLD_DI_PHDR request type for dlinfo 2022-04-29 17:00:53 +02:00
elf Update RISC-V specific ELF definitions 2022-05-16 15:51:57 +02:00
gmon
gnulib
grp
gshadow
hesiod
htl
hurd
iconv
iconvdata
include stdio: Remove the usage of $(fno-unit-at-a-time) for siglist.c 2022-05-13 10:54:41 -03:00
inet
intl
io linux: Fix fchmodat with AT_SYMLINK_NOFOLLOW for 64 bit time_t (BZ#29097) 2022-04-28 09:58:44 -03:00
libio
locale
localedata Add locale for syr_SY 2022-04-21 13:05:40 +02:00
login
mach
malloc
manual wcrtomb: Make behavior POSIX compliant 2022-05-13 19:15:46 +05:30
math
mathvec
misc sys/cdefs.h: Do not require C++ compilers to define __STDC__ 2022-05-16 16:48:51 +01:00
nis
nptl nptl: Add backoff mechanism to spinlock loop 2022-05-09 14:38:40 -07:00
nptl_db
nscd
nss
po
posix posix/glob.c: update from gnulib 2022-04-27 17:19:31 -04:00
pwd
resolv
resource
rt
scripts elf: Fix DFS sorting algorithm for LD_TRACE_LOADED_OBJECTS with missing libraries (BZ #28868) 2022-04-27 08:36:09 -03:00
setjmp
shadow
signal
socket
soft-fp
stdio-common stdio: Remove the usage of $(fno-unit-at-a-time) for siglist.c 2022-05-13 10:54:41 -03:00
stdlib
string
sunrpc
support
sysdeps x86_64: Remove bzero optimization 2022-05-16 09:36:06 -03:00
sysvipc
termios
time clock_settime/clock_gettime: Use __nonnull to avoid null pointer 2022-05-05 17:48:04 +05:30
timezone
wcsmbs wcrtomb: Make behavior POSIX compliant 2022-05-13 19:15:46 +05:30
wctype
.clang-format
.gitattributes
.gitignore
abi-tags
aclocal.m4
config.h.in powerpc32: Remove unused HAVE_PPC_SECURE_PLT 2022-05-02 08:55:36 -07:00
config.make.in Remove configure fno_unit_at_a_time 2022-05-13 10:54:41 -03:00
configure Remove configure fno_unit_at_a_time 2022-05-13 10:54:41 -03:00
configure.ac Remove configure fno_unit_at_a_time 2022-05-13 10:54:41 -03:00
CONTRIBUTED-BY
COPYING
COPYING.LIB
extra-lib.mk
gen-locales.mk
INSTALL INSTALL: Rephrase -with-default-link documentation 2022-04-26 14:22:23 +02:00
libc-abis
libof-iterator.mk
LICENSES
MAINTAINERS
Makeconfig stdio: Remove the usage of $(fno-unit-at-a-time) for errlist.c 2022-05-13 10:54:41 -03:00
Makefile
Makefile.help
Makefile.in
Makerules Do not use --hash-style=both for building glibc shared objects 2022-04-29 16:37:51 +02:00
NEWS NEWS: Mention DT_RELR support 2022-04-26 10:16:11 -07:00
o-iterator.mk
README
Rules
SHARED-FILES
shlib-versions
test-skeleton.c
version.h

This directory contains the sources of the GNU C Library.
See the file "version.h" for what release version you have.

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
GNU/Hurd system, using configurations i[4567]86-*-gnu.

When working with Linux kernels, this version of the GNU C Library
requires Linux kernel version 3.2 or later.

Also note that the shared version of the libgcc_s library must be
installed for the pthread library to work correctly.

The GNU C Library supports these configurations for using Linux kernels:

	aarch64*-*-linux-gnu
	alpha*-*-linux-gnu
	arc*-*-linux-gnu
	arm-*-linux-gnueabi
	csky-*-linux-gnuabiv2
	hppa-*-linux-gnu
	i[4567]86-*-linux-gnu
	x86_64-*-linux-gnu	Can build either x86_64 or x32
	ia64-*-linux-gnu
	m68k-*-linux-gnu
	microblaze*-*-linux-gnu
	mips-*-linux-gnu
	mips64-*-linux-gnu
	or1k-*-linux-gnu
	powerpc-*-linux-gnu	Hardware or software floating point, BE only.
	powerpc64*-*-linux-gnu	Big-endian and little-endian.
	s390-*-linux-gnu
	s390x-*-linux-gnu
	riscv32-*-linux-gnu
	riscv64-*-linux-gnu
	sh[34]-*-linux-gnu
	sparc*-*-linux-gnu
	sparc64*-*-linux-gnu

If you are interested in doing a port, please contact the glibc
maintainers; see https://www.gnu.org/software/libc/ for more
information.

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
the C library at https://www.gnu.org/software/libc/.

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.

Please see https://www.gnu.org/software/libc/bugs.html for bug reporting
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.

The GNU C Library is free software.  See the file COPYING.LIB for copying
conditions, and LICENSES for notices about a few contributions that require
these additional notices to be distributed.  License copyright years may be
listed using range notation, e.g., 1996-2015, indicating that every year in
the range, inclusive, is a copyrightable year that would otherwise be listed
individually.