From 429ca912166af7230ec9c8c7485d24c2e1a7db23 Mon Sep 17 00:00:00 2001
From: Henry Weller <http://cfd.direct>
Date: Sun, 30 Oct 2016 00:01:48 +0100
Subject: [PATCH] etc/config: Removed references to gcc versions < 4.8

Patch contributed by Bruno Santos
Resolves bug-report http://bugs.openfoam.org/view.php?id=2312
---
 etc/bashrc              | 2 +-
 etc/config.csh/settings | 3 ---
 etc/config.sh/compiler  | 3 ---
 etc/cshrc               | 2 +-
 4 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/etc/bashrc b/etc/bashrc
index 44ee7b8b6a8..e107f57f7f0 100644
--- a/etc/bashrc
+++ b/etc/bashrc
@@ -61,7 +61,7 @@ export FOAM_INST_DIR=$HOME/$WM_PROJECT
 export WM_COMPILER_TYPE=system
 
 #- Compiler:
-#    WM_COMPILER = Gcc | Gcc45 | Gcc46 | Gcc47 | Gcc48 | Gcc49| Clang | Icc
+#    WM_COMPILER = Gcc | Gcc48 ... Gcc62 | Clang | Icc
 export WM_COMPILER=Gcc
 unset WM_COMPILER_ARCH WM_COMPILER_LIB_ARCH
 
diff --git a/etc/config.csh/settings b/etc/config.csh/settings
index 282558a88d1..aa8243d9a4a 100644
--- a/etc/config.csh/settings
+++ b/etc/config.csh/settings
@@ -225,9 +225,6 @@ case ThirdParty:
     case Gcc48:
         set gcc_version=gcc-4.8.5
         breaksw
-    case Gcc47:
-        set gcc_version=gcc-4.7.4
-        breaksw
     case Gcc49:
         set gcc_version=gcc-4.9.3
         breaksw
diff --git a/etc/config.sh/compiler b/etc/config.sh/compiler
index 6a941352b53..9042a5f176c 100644
--- a/etc/config.sh/compiler
+++ b/etc/config.sh/compiler
@@ -42,9 +42,6 @@ OpenFOAM | ThirdParty)
     Gcc | Gcc48)
         gcc_version=gcc-4.8.5
         ;;
-    Gcc47)
-        gcc_version=gcc-4.7.4
-        ;;
     Gcc49)
         gcc_version=gcc-4.9.3
         ;;
diff --git a/etc/cshrc b/etc/cshrc
index c2f17948b13..8886777f0ee 100644
--- a/etc/cshrc
+++ b/etc/cshrc
@@ -61,7 +61,7 @@ echo $FOAM_INST_DIR
 setenv WM_COMPILER_TYPE system
 
 #- Compiler:
-#    WM_COMPILER = Gcc | Gcc45 | Gcc46 | Gcc47 | Gcc48 | Gcc49 | Clang | Icc
+#    WM_COMPILER = Gcc | Gcc48 ... Gcc62 | Clang | Icc
 setenv WM_COMPILER Gcc
 setenv WM_COMPILER_ARCH # defined but empty
 unsetenv WM_COMPILER_LIB_ARCH
-- 
GitLab