News for hackers. Stuff that matters.
Re:GNU toolchain for RISC-V including GCC by snvzz on Friday April 14, 2023 @12:58AM (#35565671)
This is just a guess, but perhaps this is just someone who's written a script to easily set up a crossdev toolchain.

... which is indeed a very solved problem. Most distributions have RISC-V toolchains packaged and readily available.

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.

Re:GNU toolchain for RISC-V including GCC by chungy on Friday April 14, 2023 @01:02AM (#35565699)
It is odd. It's trivially installable on Debian from any host architecture, even.