Re:GNU toolchain for RISC-V including GCC
by MobiusHorizons on Friday April 14, 2023 @01:41AM
(#35565898)
you don't even need a dedicated cross compiler if you have clang installed (eg the standard clang you can install from homebrew, or the one shipped with freebsd). you just have to pass it a few flags to target risc v. `clang --target=riscv32 -march=rv32i -mabi=ilp32`
[ Parent
| on HN ]