File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ QEMU 模拟器安装
250250 # 安装编译所需的依赖包
251251 sudo apt install autoconf automake autotools-dev curl libmpc-dev libmpfr-dev libgmp-dev \
252252 gawk build-essential bison flex texinfo gperf libtool patchutils bc \
253- zlib1g-dev libexpat-dev pkg-config libglib2.0-dev libpixman-1-dev libsdl2-dev \
253+ zlib1g-dev libexpat-dev pkg-config libglib2.0-dev libpixman-1-dev libsdl2-dev libslirp-dev \
254254 git tmux python3 python3-pip ninja-build
255255 # 下载源码包
256256 # 如果下载速度过慢可以使用我们提供的百度网盘链接:https://pan.baidu.com/s/1dykndFzY73nqkPL2QXs32Q
@@ -260,7 +260,7 @@ QEMU 模拟器安装
260260 tar xvJf qemu-7.0.0.tar.xz
261261 # 编译安装并配置 RISC-V 支持
262262 cd qemu-7.0.0
263- ./configure --target-list=riscv64-softmmu,riscv64-linux-user # 如果要支持图形界面,可添加 " --enable-sdl" 参数
263+ ./configure --target-list=riscv64-softmmu,riscv64-linux-user # 在第九章的实验中,可以有图形界面和网络。 如果要支持图形界面,可添加 " --enable-sdl" 参数;如果要支持网络,可添加 " --enable-slirp " 参数
264264 make -j$( nproc)
265265
266266 .. note ::
You can’t perform that action at this time.
0 commit comments