summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config/nim.cfg9
1 files changed, 8 insertions, 1 deletions
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