Closed ZonePG closed 3 years ago
I downloaded the toolchain through brew on m1 mac because the executable in the res folder seems to be not available under mac.
brew
on riscv-syscalls-testing/user, when I run ./build-oscomp.sh, it occurs errors:
riscv-syscalls-testing/user
./build-oscomp.sh
riscv64-unknown-elf-gcc: error: arm64: No such file or directory riscv64-unknown-elf-gcc: error: unrecognized command-line option '-arch'; did you mean '-march='? make[3]: *** [CMakeFiles/ulib.dir/lib/arch/riscv/crt.S.o] Error 1 make[2]: *** [CMakeFiles/ulib.dir/all] Error 2 make[1]: *** [all] Error 2 make: *** [binary] Error 2
I don't know why this happens.
I downloaded the toolchain through
brew
on m1 mac because the executable in the res folder seems to be not available under mac.on
riscv-syscalls-testing/user
, when I run./build-oscomp.sh
, it occurs errors:I don't know why this happens.