aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-05-18 14:28:16 -0400
committerJason Merrill <jason@redhat.com>2020-05-18 14:29:18 -0400
commit5329b59a2e13dabbe2038af0fe2e3cf5fc7f98ed (patch)
treeb5c78d4c1858c2bcda7f6fdd7ef5133d978019ec /gcc/doc
parente5abd1cb9160619721336ed800779a01548231f1 (diff)
downloadgcc-5329b59a2e13dabbe2038af0fe2e3cf5fc7f98ed.zip
gcc-5329b59a2e13dabbe2038af0fe2e3cf5fc7f98ed.tar.gz
gcc-5329b59a2e13dabbe2038af0fe2e3cf5fc7f98ed.tar.bz2
bootstrap: Update requirement to C++11.
There was general agreement last November that we would move to allowing C++11 features to be used in GCC 11; this patch implements that direction. ChangeLog 2020-05-18 Jason Merrill <jason@redhat.com> * configure.ac: Update bootstrap dialect to -std=c++11. config/ChangeLog 2020-05-18 Jason Merrill <jason@redhat.com> * ax_cxx_compile_stdcxx.m4: Import from autoconf archive with an adjustment to try the default mode. gcc/ChangeLog 2020-05-18 Jason Merrill <jason@redhat.com> * aclocal.m4: Add ax_cxx_compile_stdcxx.m4. * configure.ac: Use AX_CXX_COMPILE_STDCXX(11).
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/install.texi16
1 files changed, 9 insertions, 7 deletions
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 876b04f..c367f4f 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -238,18 +238,20 @@ described below.
@heading Tools/packages necessary for building GCC
@table @asis
-@item ISO C++98 compiler
-Necessary to bootstrap GCC, although versions of GCC prior
-to 4.8 also allow bootstrapping with a ISO C89 compiler and versions
-of GCC prior to 3.4 also allow bootstrapping with a traditional
-(K&R) C compiler.
+@item ISO C++11 compiler
+Necessary to bootstrap GCC.
+
+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
+ISO C89 compiler, and versions of GCC prior to 3.4 also allow
+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 3.4 or later) because source code for language
+GCC binary (version 4.8 or later) because source code for language
frontends other than C might use GCC extensions.
-Note that to bootstrap GCC with versions of GCC earlier than 3.4, you
+Note that to bootstrap GCC with versions of GCC earlier than 4.8, you
may need to use @option{--disable-stage1-checking}, though
bootstrapping the compiler with such earlier compilers is strongly
discouraged.