2 ms·
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.
by snvzz 4y ago
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.
- chungy 4y agoIt is odd. It's trivially installable on Debian from any host architecture, even.
- MobiusHorizons 4y agoyou 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`
- snvzz 4y agoYes, and I have done this. I love llvm/clang.