News for hackers. Stuff that matters.
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`
Re:GNU toolchain for RISC-V including GCC by snvzz on Friday April 14, 2023 @02:44AM (#35566282)
Yes, and I have done this.

I love llvm/clang.