aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-12-22 15:51:46 +0100
committerRichard Biener <rguenther@suse.de>2022-12-22 16:01:08 +0100
commitb97c33fbd28e74a206c81c96a9b0b9fa3c8545d6 (patch)
treeb5b435b4b897a340be3953f1862243fb44c2386e /gcc/doc
parentd4a320f1ee4c76f09f95bdc583b90a9b049bbba0 (diff)
downloadgcc-b97c33fbd28e74a206c81c96a9b0b9fa3c8545d6.zip
gcc-b97c33fbd28e74a206c81c96a9b0b9fa3c8545d6.tar.gz
gcc-b97c33fbd28e74a206c81c96a9b0b9fa3c8545d6.tar.bz2
bootstrap/106482 - document minimal GCC version
There's no explicit mention of what GCC compiler supports C++11 and the cross compiler build requirement mentions GCC 4.8 but not GCC 4.8.3 which is the earliest known version to not run into C++11 implementation bugs. The following adds explicit wording. PR bootstrap/106482 * doc/install.texi (ISO C++11 Compiler): Document GCC version known to work.
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/install.texi6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 5c0214b..fc3a3cb 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -227,7 +227,9 @@ described below.
@heading Tools/packages necessary for building GCC
@table @asis
@item ISO C++11 compiler
-Necessary to bootstrap GCC.
+Necessary to bootstrap GCC. GCC 4.8.3 or newer has sufficient
+support for used C++11 features, with earlier GCC versions you
+might run into implementation bugs.
Versions of GCC prior to 11 also allow bootstrapping with an ISO C++98
compiler, versions of GCC prior to 4.8 also allow bootstrapping with a
@@ -236,7 +238,7 @@ bootstrapping with a traditional (K&R) C compiler.
To build all languages in a cross-compiler or other configuration where
3-stage bootstrap is not performed, you need to start with an existing
-GCC binary (version 4.8 or later) because source code for language
+GCC binary (version 4.8.3 or later) because source code for language
frontends other than C might use GCC extensions.
@item C standard library and headers