From: Gabe Black Date: Sun, 15 Mar 2020 10:22:22 +0000 (-0700) Subject: util: Add some settings files for build_cross_gcc. X-Git-Tag: v20.0.0.0~281 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a03b227ac1a42d3cd332985eb78649f04c457f32;p=gem5.git util: Add some settings files for build_cross_gcc. These files have settings for 32 and 64 bit ARM, MIPS, POWER, RISCV, and SPARC. When used with the versions of toolchain components below, they all generate working hello world binaries. binutils-2.34 gcc-9.3.0 glibc-2.31 linux-5.5.9 gdb-9.1 The script was unable to install the c++ standard headers (step 8) because a constant was not found when building one of the sanitizers. I don't know exactly why this happens, but I suspect it's independent of the build process. Change-Id: I9f0068b77edf338ed63b95f007454c07651aa42a Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26764 Maintainer: Gabe Black Tested-by: Gem5 Cloud Project GCB service account <345032938727@cloudbuild.gserviceaccount.com> Reviewed-by: Jason Lowe-Power --- diff --git a/util/build_cross_gcc/settings.aarch64 b/util/build_cross_gcc/settings.aarch64 new file mode 100644 index 000000000..d2b21f690 --- /dev/null +++ b/util/build_cross_gcc/settings.aarch64 @@ -0,0 +1,2 @@ +TARGET=aarch64-linux-gnu +LINUX_ARCH=arm64 diff --git a/util/build_cross_gcc/settings.arm b/util/build_cross_gcc/settings.arm new file mode 100644 index 000000000..7f3eff31e --- /dev/null +++ b/util/build_cross_gcc/settings.arm @@ -0,0 +1,2 @@ +TARGET=arm-linux-gnueabihf +LINUX_ARCH=arm diff --git a/util/build_cross_gcc/settings.mips b/util/build_cross_gcc/settings.mips new file mode 100644 index 000000000..c29e4ad65 --- /dev/null +++ b/util/build_cross_gcc/settings.mips @@ -0,0 +1,2 @@ +TARGET=mipsel-linux-gnu +LINUX_ARCH=mips diff --git a/util/build_cross_gcc/settings.power b/util/build_cross_gcc/settings.power new file mode 100644 index 000000000..998a2bc03 --- /dev/null +++ b/util/build_cross_gcc/settings.power @@ -0,0 +1,2 @@ +TARGET=powerpc-linux-gnu +LINUX_ARCH=powerpc diff --git a/util/build_cross_gcc/settings.riscv b/util/build_cross_gcc/settings.riscv new file mode 100644 index 000000000..d1910e81b --- /dev/null +++ b/util/build_cross_gcc/settings.riscv @@ -0,0 +1,2 @@ +TARGET=riscv64-linux-gnu +LINUX_ARCH=riscv diff --git a/util/build_cross_gcc/settings.sparc b/util/build_cross_gcc/settings.sparc new file mode 100644 index 000000000..cc965305a --- /dev/null +++ b/util/build_cross_gcc/settings.sparc @@ -0,0 +1,2 @@ +TARGET=sparc64-linux-gnu +LINUX_ARCH=sparc