mirror of
https://github.com/LearningOS/rust-based-os-comp2022.git
synced 2026-05-05 20:11:05 +08:00
update guide/source/0setup-devel-env.rst
This commit is contained in:
@@ -174,9 +174,7 @@ Qemu 模拟器安装
|
||||
- 出现 ``ERROR: pixman >= 0.21.8 not present`` 时,可以安装 ``libpixman-1-dev`` 包。
|
||||
|
||||
另外一些 Linux 发行版编译 Qemu 的依赖包可以从 `这里 <https://risc-v-getting-started-guide.readthedocs.io/en/latest/linux-qemu.html#prerequisites>`_
|
||||
找到。
|
||||
|
||||
GCC 11 可能无法正常编译 Qemu5 ,而 GCC 9.3.0 (Ubuntu 20.04 自带) 及 GCC 10.3.0 经测试可以编译,请自行选择合适的编译器版本。
|
||||
找到。请自行选择合适的编译器版本正常编译 Qemu。
|
||||
|
||||
之后我们可以在同目录下 ``sudo make install`` 将 Qemu 安装到 ``/usr/local/bin`` 目录下,但这样经常会引起
|
||||
冲突。个人来说更习惯的做法是,编辑 ``~/.bashrc`` 文件(如果使用的是默认的 ``bash`` 终端),在文件的末尾加入
|
||||
|
||||
Reference in New Issue
Block a user