Update RISC-V64_QEMU.md
This commit is contained in:
parent
f3ccc5ce1d
commit
5a9b271a81
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue