aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnai Martinez-Corral <38422348+umarcor@users.noreply.github.com>2022-05-14 20:17:02 +0200
committereine <eine@users.noreply.github.com>2023-02-26 13:56:43 +0100
commit4ef28d931e7270c835d5db04bb0e53b697141e6e (patch)
treef17f102b6f12141a7b15dbf66601a608f362cee4
parente76ff258d2fe3c8fe940f6675b857edbba44f103 (diff)
downloadghdl-4ef28d931e7270c835d5db04bb0e53b697141e6e.tar.gz
ghdl-4ef28d931e7270c835d5db04bb0e53b697141e6e.tar.bz2
ghdl-4ef28d931e7270c835d5db04bb0e53b697141e6e.zip
doc: GCC 12
-rw-r--r--Makefile.in3
-rw-r--r--doc/development/building/GCC.rst3
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index b541b24bb..34382f004 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -292,8 +292,7 @@ copy-sources.gcc: version.ads scripts/gcc/Make-lang.in
6 | 6.*) gcc_ortho_lang=ortho-lang-6.c ;; \
7.*) gcc_ortho_lang=ortho-lang-7.c ;; \
8.*) gcc_ortho_lang=ortho-lang-8.c ;; \
- 9.* | 10.* | 11.*) gcc_ortho_lang=ortho-lang-9.c ;; \
- 12.*) gcc_ortho_lang=ortho-lang-9.c ;; \
+ 9.* | 10.* | 11.* | 12.*) gcc_ortho_lang=ortho-lang-9.c ;; \
*) echo "Mismatch gcc version from $(gcc_src_dir)"; \
echo "Need gcc version 4.9.x, 5.x to 12.x"; \
exit 1 ;; \
diff --git a/doc/development/building/GCC.rst b/doc/development/building/GCC.rst
index 523d25e25..ffbe903f0 100644
--- a/doc/development/building/GCC.rst
+++ b/doc/development/building/GCC.rst
@@ -9,7 +9,8 @@ GCC backend
* GCC (Gnu Compiler Collection)
* GNAT (Ada compiler for GCC)
-* GCC source files. Download and untar the sources of version 4.9.x, 5.x, 6.x, 7.x, 8.x, 9.x, 10.x or 11.x (`GCC mirror sites <https://gcc.gnu.org/mirrors.html>`__).
+* GCC source files. Download and untar the sources of version 4.9.x, 5.x, 6.x, 7.x, 8.x, 9.x, 10.x, 11.x or 12.x
+ (`GCC mirror sites <https://gcc.gnu.org/mirrors.html>`__).
.. HINT :: There are some dependencies for building GCC (``gmp``, ``mpfr`` and ``mpc``). If you have not installed them on your system, you can either build them manually or use the ``download_prerequisites`` script provided in the GCC source tree (recommended): ``cd /path/to/gcc/source/dir && ./contrib/download_prerequisites``.