From 5a9b271a810fd1e649d3fe9145564f35c947f7fb Mon Sep 17 00:00:00 2001 From: aiminick Date: Tue, 22 Jun 2021 17:01:13 +0800 Subject: [PATCH] Update RISC-V64_QEMU.md --- docs/RISC-V64_QEMU.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/RISC-V64_QEMU.md b/docs/RISC-V64_QEMU.md index f0a9e93..ac861ec 100644 --- a/docs/RISC-V64_QEMU.md +++ b/docs/RISC-V64_QEMU.md @@ -17,7 +17,9 @@ libglib2.0-dev autoconf automake libtool libsdl1.2-dev sudo apt-get install autoconf automake autotools-dev curl libmpc-dev libmpfr-dev \ libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc zlib1g-dev -git clone --recursive https://gitee.com/mirrors/riscv-gnu-toolchain --depth=1 +git clone https://gitee.com/mirrors/riscv-gnu-toolchain --depth=1 +git rm --cached qemu +git submodule update --init --recursive ./configure --prefix=/opt/riscv-gnu-toolchain_install && make linux -j $(nproc --all) echo 'export PATH=/opt/riscv-gnu-toolchain_install/bin:$PATH' >> ~/.bashrc source ~/.bashrc