LearningOS / uCore-Tutorial-Guide-2022S

GNU General Public License v3.0
18 stars 5 forks source link

uCore-Tutorial-Guide-2022S/chapter0/1setup-devel-env #6

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

实验环境配置 - uCore-Tutorial-Guide-2022S 0.1 文档

https://learningos.github.io/uCore-Tutorial-Guide-2022S/chapter0/1setup-devel-env.html

OccupyMars2025 commented 1 year ago

You had better to use qemu-5.0.0 as specified in the tutorial. If you use higher version of qemu, it may also report an error. Refer to https://github.com/rustsbi/rustsbi/issues/12

OccupyMars2025 commented 1 year ago

(2022/11/5)

  1. You can download " Prebuilt RISC‑V GCC Toolchain" from https://www.sifive.com/software .
  2. Add the following line to the file ~/.bashrc , then you can use the commands such as "riscv64-unknown-elf-gcc" : export PATH="your-path/riscv64-unknown-elf-toolchain-10.2.0-2020.12.8-x86_64-linux-ubuntu14/bin:${PATH}"
OccupyMars2025 commented 1 year ago

You may find RISC-V GNU Compiler Toolchain at this repository: https://github.com/riscv-collab/riscv-gnu-toolchain

StarDust2020CBR commented 1 year ago

清华云盘的musl-gcc挂了

Liujunkang21 commented 1 year ago

清华云盘的musl-gcc下载不了