mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-16 08:04:20 +00:00
Genode compiler configuration for arm64 and riscv64 (#11389)
Add compiler for arm64 and riscv64, remove path to compiler binaries.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user