sgmarz / osblog

The Adventures of OS
MIT License
517 stars 70 forks source link

RISC-V toolchain setup #2

Closed Shadlock0133 closed 5 years ago

Shadlock0133 commented 5 years ago

Official RISC-V organization provides complete gnu toolchain here. So instead of having to download and track 5 different repos there is just one.

sgmarz commented 5 years ago

There is an issue with the risc-v toolchain straight from risc-v that I haven't been able to track down. Instead of trying to do that, I added a chapter 0 for those that want to build their own tools, but everyone is free to make their own.

I'm closing this issue.

Disasm commented 5 years ago

Additionally, linker from the toolchain can be replaced with llvm-ld bundled with Rust.