opensbi icon indicating copy to clipboard operation
opensbi copied to clipboard

on m1 macbook pro, riscv64-unknown-unknown-elf

Open tinc0709 opened this issue 2 years ago • 1 comments

I just run make and got an error error: unable to create target: 'No available targets are compatible with triple "riscv64-unknown-unknown-elf"' image

tinc0709 avatar Aug 14 '22 07:08 tinc0709

You need a compiler that can compile to RISC-V machine code, Apple's Clang fork can't. Consider using a non-Apple version of LLVM. You can use CC, AR, LD and OBJCOPY to set different build tools.

kadiwa4 avatar Jun 30 '23 11:06 kadiwa4