From 7cab7e8710abd4ffbf9d25652e732418f6ad9c1d Mon Sep 17 00:00:00 2001 From: Samuel Yuan Date: Tue, 18 Jun 2024 04:03:12 +0000 Subject: [PATCH] update src/content/posts/2024-01/chenmiao_riscv_qemu_compile.md. Signed-off-by: Samuel Yuan --- src/content/posts/2024-01/chenmiao_riscv_qemu_compile.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/posts/2024-01/chenmiao_riscv_qemu_compile.md b/src/content/posts/2024-01/chenmiao_riscv_qemu_compile.md index 49455db..05c029b 100644 --- a/src/content/posts/2024-01/chenmiao_riscv_qemu_compile.md +++ b/src/content/posts/2024-01/chenmiao_riscv_qemu_compile.md @@ -131,7 +131,7 @@ QEMU是一个托管的虚拟机,它使用动态二进制转换技术来模拟 ``` bash wget https://download.qemu.org/qemu-9.0.0.tar.xz -tar xvJf qemu-7.0.0.tar.xz +tar xvJf qemu-9.0.0.tar.xz ``` ## 依赖获取 @@ -184,7 +184,7 @@ sudo apt install autoconf automake autotools-dev curl libmpc-dev libmpfr-dev lib ``` bash ./configure --prefix=/opt/qemu --target-list=riscv64-softmmu,riscv64-linux-user -make -j(nproc) +make -j $(nproc) sudo make install ``` -- Gitee