summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-12-18 09:44:05 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-12-18 09:44:05 +0100
commit868600c7dae64fb8af62d3914199ffba0dd643fb (patch)
tree2da8044467c202d4cf46cd7a8b16ee3872579674
parente493cb4364851345265b8b05948a669774037076 (diff)
gcc: add old versionsHEADmaster
-rw-r--r--target/config/Config.in.compiler22
-rw-r--r--toolchain/gcc/Makefile.inc16
2 files changed, 38 insertions, 0 deletions
diff --git a/target/config/Config.in.compiler b/target/config/Config.in.compiler
index 2b0e0cc27..4c07e594e 100644
--- a/target/config/Config.in.compiler
+++ b/target/config/Config.in.compiler
@@ -109,6 +109,28 @@ config ADK_TOOLCHAIN_GCC_6
depends on !ADK_TARGET_ARCH_OR1K
depends on !ADK_TARGET_ARCH_LOONGARCH
+config ADK_TOOLCHAIN_GCC_5
+ bool "5.5.0"
+ depends on !ADK_TARGET_ARCH_ARC
+ depends on !ADK_TARGET_ARCH_AVR32
+ depends on !ADK_TARGET_ARCH_CSKY
+ depends on !ADK_TARGET_ARCH_HPPA
+ depends on !ADK_TARGET_ARCH_METAG
+ depends on !ADK_TARGET_ARCH_NDS32
+ depends on !ADK_TARGET_ARCH_OR1K
+ depends on !ADK_TARGET_ARCH_LOONGARCH
+
+config ADK_TOOLCHAIN_GCC_4
+ bool "4.9.4"
+ depends on !ADK_TARGET_ARCH_ARC
+ depends on !ADK_TARGET_ARCH_AVR32
+ depends on !ADK_TARGET_ARCH_CSKY
+ depends on !ADK_TARGET_ARCH_HPPA
+ depends on !ADK_TARGET_ARCH_METAG
+ depends on !ADK_TARGET_ARCH_NDS32
+ depends on !ADK_TARGET_ARCH_OR1K
+ depends on !ADK_TARGET_ARCH_LOONGARCH
+
config ADK_TOOLCHAIN_GCC_ARC
bool "arc-2023.09"
depends on ADK_TARGET_ARCH_ARC
diff --git a/toolchain/gcc/Makefile.inc b/toolchain/gcc/Makefile.inc
index 6f111ffa2..bc0740cc9 100644
--- a/toolchain/gcc/Makefile.inc
+++ b/toolchain/gcc/Makefile.inc
@@ -74,6 +74,22 @@ PKG_RELEASE:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
LIBSTDCXXVER:= 22
endif
+ifeq ($(ADK_TOOLCHAIN_GCC_5),y)
+PKG_VERSION:= 5.5.0
+PKG_HASH:= 3aabce75d6dd206876eced17504b28d47a724c2e430dbd2de176beb948708983
+PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
+PKG_RELEASE:= 1
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+LIBSTDCXXVER:= 21
+endif
+ifeq ($(ADK_TOOLCHAIN_GCC_4),y)
+PKG_VERSION:= 4.9.4
+PKG_HASH:= 1680f92781b92cbdb57d7e4f647c650678c594154cb0d707fd9a994424a9860d
+PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
+PKG_RELEASE:= 1
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+LIBSTDCXXVER:= 20
+endif
ifeq ($(ADK_TOOLCHAIN_GCC_ARC),y)
PKG_VERSION:= arc-2023.09
PKG_GIT:= tag