diff options
author | ehmry <ehmry@posteo.net> | 2019-06-03 16:30:55 +0200 |
---|---|---|
committer | Miran <narimiran@disroot.org> | 2019-06-03 16:30:55 +0200 |
commit | 7072eaad73d3d5bc1c1c884df111b18b5d8e6e1c (patch) | |
tree | 0f640bb063437d9d6bff8b8d9827823f072eeeb1 /config | |
parent | 7c5e7a4f6a31b6bb92d9f0a243e96b8030c9944c (diff) | |
download | Nim-7072eaad73d3d5bc1c1c884df111b18b5d8e6e1c.tar.gz |
Genode compiler configuration for arm64 and riscv64 (#11389)
Add compiler for arm64 and riscv64, remove path to compiler binaries.
Diffstat (limited to 'config')
-rw-r--r-- | config/nim.cfg | 9 |
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 |