gcc/libstdc++-v3
Jonathan Wakely f1b51f68f8 libstdc++: Make _GLIBCXX_HOSTED respect -ffreestanding [PR103626]
This allows the library to switch to freestanding mode when compiling
with the -ffreestanding flag. This means you don't need a separate
libstdc++ build configured with --disable-hosted-libstdcxx in order to
compile for a freestanding environment.

The testsuite support files cannot be compiled for freestanding, so add
-fno-freestanding to override any -ffreestanding in the test flags.

libstdc++-v3/ChangeLog:

	PR libstdc++/103626
	* acinclude.m4 (GLIBCXX_ENABLE_HOSTED): Define _GLIBCXX_HOSTED
	to __STDC_HOSTED__ for non-freestanding installations.
	* configure: Regenerate.
	* include/Makefile.am (${host_builddir}/c++config.h): Adjust
	grep pattern.
	* include/Makefile.in: Regenerate.
	* testsuite/lib/libstdc++.exp (v3-build_support): Use
	-fno-freestanding.
	* testsuite/libstdc++-abi/abi.exp: Likewise.
2022-10-03 15:43:48 +01:00
..
config libstdc++: [_GLIBCXX_INLINE_VERSION] Cleanup gnu-versioned-namespace.ver 2022-09-15 18:58:50 +02:00
doc libstdc++: Disable volatile-qualified std::bind for C++20 2022-09-29 00:33:46 +01:00
include libstdc++: Make _GLIBCXX_HOSTED respect -ffreestanding [PR103626] 2022-10-03 15:43:48 +01:00
libsupc++ libstdc++: small dynamic_cast optimization 2022-09-07 10:11:54 -04:00
po libstdc++: Define <stacktrace> header for C++23 2022-01-17 12:13:02 +00:00
python libstdc++: Fix gdb pretty printers when dealing with std::string 2022-10-03 07:01:10 +02:00
scripts libstdc++: use grep -E instead of egrep in scripts 2022-06-24 20:31:31 +08:00
src libstdc++: [_GLIBCXX_DEBUG] Add backtrace generation on demand 2022-08-31 20:51:10 +02:00
testsuite libstdc++: Make _GLIBCXX_HOSTED respect -ffreestanding [PR103626] 2022-10-03 15:43:48 +01:00
acinclude.m4 libstdc++: Make _GLIBCXX_HOSTED respect -ffreestanding [PR103626] 2022-10-03 15:43:48 +01:00
aclocal.m4
ChangeLog Daily bump. 2022-10-01 00:18:00 +00:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
ChangeLog-2020
ChangeLog-2021 Rotate ChangeLog files - part 1 - add ChangeLog-2021. 2022-01-03 10:18:16 +01:00
config.h.in libstdc++: check for openat 2022-06-23 23:28:14 -03:00
configure libstdc++: Make _GLIBCXX_HOSTED respect -ffreestanding [PR103626] 2022-10-03 15:43:48 +01:00
configure.ac RTEMS: Remove HAVE_POLL for libstdc++ 2022-07-19 14:10:26 +02:00
configure.host
crossconfig.m4 32-bit PA-RISC with HP-UX: remove deprecated ports 2022-08-31 22:14:34 +02:00
fragment.am
linkage.m4
Makefile.am Update copyright years. 2022-01-03 10:42:10 +01:00
Makefile.in libstdc++: Define <stacktrace> header for C++23 2022-01-17 12:13:02 +00:00
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.