提交 6b6538c6 编写于 作者: R Richard Wang 提交者: NEEN

!11 更正quick-start/搭建环境.md中解压和设置编译器路径的错误

* 更正quick-start/搭建环境.md中解压和设置编译器路径的错误
上级 046bae98
......@@ -330,8 +330,8 @@ sudo ln -s /bin/bash /bin/sh
1. 打开Linux编译服务器终端。
2. [下载gcc\_riscv32工具](http://tools.harmonyos.com/mirrors/gcc_riscv32/7.3.0/linux/gcc_riscv32-linux-7.3.0.tar.gz)
3. 解压gcc\_riscv32安装包至/opt/gcc\_riscv32路径下:"tar -xvf gcc\_riscv32-linux-7.3.0.tar.gz -C \~/"。
4. 设置环境变量:"vim \~/.bashrc",新增:"export PATH=\~/gcc\_riscv32/bin:$PATH"。
3. 解压gcc\_riscv32安装包至/opt/gcc\_riscv32路径下:"tar -xvf gcc\_riscv32-linux-7.3.0.tar.gz -C /opt/"。
4. 设置环境变量:"vim \~/.bashrc",新增:"export PATH=/opt/gcc\_riscv32/bin:$PATH"。
5. 生效环境变量:"source \~/.bashrc"。
6. Shell命令行中输入“riscv32-unknown-elf-gcc -v”,如果能正确显示编译器版本号,表明编译器安装成功。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册