From 868600c7dae64fb8af62d3914199ffba0dd643fb Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 18 Dec 2024 09:44:05 +0100 Subject: gcc: add old versions --- target/config/Config.in.compiler | 22 ++++++++++++++++++++++ toolchain/gcc/Makefile.inc | 16 ++++++++++++++++ 2 files changed, 38 insertions(+) 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 -- cgit v1.2.3