From 7072eaad73d3d5bc1c1c884df111b18b5d8e6e1c Mon Sep 17 00:00:00 2001 From: ehmry Date: Mon, 3 Jun 2019 16:30:55 +0200 Subject: [PATCH] Genode compiler configuration for arm64 and riscv64 (#11389) Add compiler for arm64 and riscv64, remove path to compiler binaries. --- config/nim.cfg | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/config/nim.cfg b/config/nim.cfg index fb7d02436..db0336f89 100644 --- a/config/nim.cfg +++ b/config/nim.cfg @@ -262,7 +262,6 @@ tcc.options.always = "-w" @if genode: noCppExceptions # avoid std C++ tlsEmulation:on # no TLS segment register magic - gcc.path = "/usr/local/genode-gcc/bin" @if i386 or amd64: gcc.exe = "genode-x86-gcc" gcc.cpp.exe = "genode-x86-g++" @@ -271,6 +270,14 @@ tcc.options.always = "-w" gcc.exe = "genode-arm-gcc" gcc.cpp.exe = "genode-arm-g++" gcc.cpp.linkerexe = "genode-arm-ld" + @elif arm64: + gcc.exe = "genode-aarch64-gcc" + gcc.cpp.exe = "genode-aarch64-g++" + gcc.cpp.linkerexe = "genode-aarch64-ld" + @elif riscv64: + gcc.exe = "genode-riscv-gcc" + gcc.cpp.exe = "genode-riscv-g++" + gcc.cpp.linkerexe = "genode-riscv-ld" @end @end