From 8d1cd837d13a4b0de755b56431d116bbd7aa1715 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Mon, 23 Aug 2021 16:13:08 +0200 Subject: [PATCH] new cross architectures --- configure/os/CONFIG.Common.deb10-x86_64 | 20 ++++++++++++++++++ configure/os/CONFIG.Common.gcc8-ppc4xxFP | 21 +++++++++++++++++++ configure/os/CONFIG_SITE.Common.deb10-x86_64 | 2 ++ configure/os/CONFIG_SITE.Common.gcc8-ppc4xxFP | 2 ++ configure/os/CONFIG_SITE.RHEL7-x86_64.Common | 8 +++++++ 5 files changed, 53 insertions(+) create mode 100644 configure/os/CONFIG.Common.deb10-x86_64 create mode 100644 configure/os/CONFIG.Common.gcc8-ppc4xxFP create mode 100644 configure/os/CONFIG_SITE.Common.deb10-x86_64 create mode 100644 configure/os/CONFIG_SITE.Common.gcc8-ppc4xxFP diff --git a/configure/os/CONFIG.Common.deb10-x86_64 b/configure/os/CONFIG.Common.deb10-x86_64 new file mode 100644 index 000000000..4f2870811 --- /dev/null +++ b/configure/os/CONFIG.Common.deb10-x86_64 @@ -0,0 +1,20 @@ +# DeltaTau PowerPMAC with gcc + +# Include definitions common to all Linux targets +include $(CONFIG)/os/CONFIG.Common.linuxCommon + +ARCH_CLASS = x86_64 + +LDLIBS_SHARED_YES=LDLIBS + +SDK = gcc +SDK_DIR = /opt/xgcc/gcc-8.3.0-deb10 +GNU_ARCH = x86_64-deb10-linux-gnu +SDKTARGETSYSROOT=$(SDK_DIR)/$(GNU_ARCH)/sys-root/ +GNU_DIR = $(SDK_DIR) +GNU_BIN = $(GNU_DIR)/bin/ +GNU_TARGET_INCLUDE_DIR = +GNU_TARGET=x86_64-deb10-linux-gnu + +ARCH_DEP_CPPFLAGS = +AS=$(GNU_BIN)/$(GNU_TARGET)-as diff --git a/configure/os/CONFIG.Common.gcc8-ppc4xxFP b/configure/os/CONFIG.Common.gcc8-ppc4xxFP new file mode 100644 index 000000000..c616ea52e --- /dev/null +++ b/configure/os/CONFIG.Common.gcc8-ppc4xxFP @@ -0,0 +1,21 @@ +# DeltaTau PowerPMAC with gcc + +# Include definitions common to all Linux targets +include $(CONFIG)/os/CONFIG.Common.linuxCommon + +ARCH_CLASS = ppc + +SDK = gcc +SDK_DIR = /opt/xgcc/gcc-8.5.0 +GNU_ARCH = powerpc-ppmac-linux-gnu +SDKTARGETSYSROOT=$(SDK_DIR)/$(GNU_ARCH)/sys-root/ +GNU_DIR = $(SDK_DIR) +GNU_BIN = $(GNU_DIR)/bin/ +GNU_TARGET_INCLUDE_DIR = +GNU_TARGET=powerpc-ppmac-linux-gnu + +ARCH_DEP_CPPFLAGS = -m32 -mcpu=440fp -mhard-float +ARCH_DEP_LDFLAGS+=-Wl,-rpath,/opt/xgcc/gcc-8.5.0/$(GNU_ARCH)/lib +ARCH_DEP_LDFLAGS+=-Wl,-rpath-link,$(SDKTARGETSYSROOT)/lib/powerpc-linux-gnu/ +ARCH_DEP_LDFLAGS+=-Wl,-rpath-link,$(SDKTARGETSYSROOT)/usr/lib/powerpc-linux-gnu/ +AS=$(GNU_BIN)/$(GNU_TARGET)-as diff --git a/configure/os/CONFIG_SITE.Common.deb10-x86_64 b/configure/os/CONFIG_SITE.Common.deb10-x86_64 new file mode 100644 index 000000000..fb1772085 --- /dev/null +++ b/configure/os/CONFIG_SITE.Common.deb10-x86_64 @@ -0,0 +1,2 @@ +# Debian 10 +COMMANDLINE_LIBRARY=READLINE_NCURSES diff --git a/configure/os/CONFIG_SITE.Common.gcc8-ppc4xxFP b/configure/os/CONFIG_SITE.Common.gcc8-ppc4xxFP new file mode 100644 index 000000000..53cb95668 --- /dev/null +++ b/configure/os/CONFIG_SITE.Common.gcc8-ppc4xxFP @@ -0,0 +1,2 @@ +# DeltaTau PowerPMAC with gcc +COMMANDLINE_LIBRARY=READLINE diff --git a/configure/os/CONFIG_SITE.RHEL7-x86_64.Common b/configure/os/CONFIG_SITE.RHEL7-x86_64.Common index b6e65331a..b2de8ae7f 100644 --- a/configure/os/CONFIG_SITE.RHEL7-x86_64.Common +++ b/configure/os/CONFIG_SITE.RHEL7-x86_64.Common @@ -12,6 +12,14 @@ CROSS_COMPILER_RUNTEST_ARCHS += SL6-x86_64 CROSS_COMPILER_TARGET_ARCHS += SL6-x86 CROSS_COMPILER_RUNTEST_ARCHS += SL6-x86 +# Cross compilers that don't work on SL6 hosts + +# Debian 10 +CROSS_COMPILER_TARGET_ARCHS += deb10-x86_64 + +# Newer DeltaTau PowerPMAC +CROSS_COMPILER_TARGET_ARCHS += gcc8-ppc4xxFP + # NI Linux Real-Time 7.x # requires RPM gcc-c++-arm-linux-gnu CROSS_COMPILER_TARGET_ARCHS += nilrt7-armv7a