summary refs log tree commit diff
path: root/manual
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-06-19 16:33:00 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-06-19 16:34:05 +0000
commit4add86749a31f302674599b69d2eea691d69341a (patch)
tree68755949e4e394156f806e072463b3f3af64d278 /manual
parentf6110a8fee2ca36f8e2d2abecf3cba9fa7b8ea7d (diff)
downloadglibc-4add86749a31f302674599b69d2eea691d69341a.tar.gz
glibc-4add86749a31f302674599b69d2eea691d69341a.tar.xz
glibc-4add86749a31f302674599b69d2eea691d69341a.zip
Require GCC 4.9 or later for building glibc.
This patch makes configure require GCC 4.9 or later for building
glibc, and documents that requirement.  Requiring GCC 4.9 or later
allows use of _Generic (as in tzcode).  It would allow <stdatomic.h>
and _Atomic to be used as well if desired, although we need to avoid
any libatomic dependencies on any platforms.  This patch is explicitly
the minimum to implement a new version requirement, with any
consequent cleanups of conditional code (not in installed headers or
files shared with gnulib etc.) to be done separately.

Tested for x86_64.

	* configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
	* configure: Regenerated.
	* manual/install.texi (Tools for Compilation): Document
	requirement for GCC 4.9 or later.
	* INSTALL: Regenerated.
Diffstat (limited to 'manual')
-rw-r--r--manual/install.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/install.texi b/manual/install.texi
index cbc912817a..65174a8b2e 100644
--- a/manual/install.texi
+++ b/manual/install.texi
@@ -467,9 +467,9 @@ recommend GNU @code{make} version 3.79.  All earlier versions have severe
 bugs or lack features.
 
 @item
-GCC 4.7 or newer
+GCC 4.9 or newer
 
-GCC 4.7 or higher is required.  In general it is recommended to use
+GCC 4.9 or higher is required.  In general it is recommended to use
 the newest version of the compiler that is known to work for building
 @theglibc{}, as newer compilers usually produce better code.  As of
 release time, GCC 6.3 is the newest compiler verified to work to build