Skip to content

Commit e538ad7

Browse files
shiptuxRbb666
authored andcommitted
[docs] fix outdated GNU GCC toolchain link in qemu-vexpress-a9 README
The link points to launchpad.net, which shut down its gcc-arm-embedded downloads years ago (the URL now returns 503), and the tarball it names is a 2016 Q3 build (gcc 5.4). - Point to Arm GNU Toolchain Downloads, matching the link already used in bsp/nxp/imx/imx91/README.md. The old gnu-rm page covers the GNU Arm Embedded Toolchain, which Arm has superseded. - Mention installing the toolchain from the distribution package manager, with Debian/Ubuntu as an example, since rtconfig.py already defaults EXEC_PATH to /usr/bin. libstdc++-arm-none-eabi-newlib is listed because LFLAGS links with -lsupc++.
1 parent 4f95e33 commit e538ad7

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

‎bsp/qemu-vexpress-a9/README.md‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,13 @@
4040

4141
![image-20220626114020634](figures/image-20220626114020634.png)
4242

43-
- 如果在Linux下使用,请自行下载[GNU GCC工具链][3]。
43+
- 如果在Linux下使用,推荐用发行版的包管理器安装 `arm-none-eabi` 工具链,`rtconfig.py` 默认的 `EXEC_PATH` 即为 `/usr/bin`,装好后无需额外配置。以 Debian/Ubuntu 为例:
44+
45+
```shell
46+
sudo apt install gcc-arm-none-eabi libstdc++-arm-none-eabi-newlib
47+
```
48+
49+
其中 `libstdc++-arm-none-eabi-newlib` 提供链接阶段 `-lsupc++` 所需的库。也可以从 [Arm GNU Toolchain 下载页][3] 获取官方预编译版本,解压后用 `RTT_EXEC_PATH` 环境变量指向其 `bin` 目录。
4450

4551
## 3 执行和退出
4652

@@ -244,6 +250,6 @@ msh />QEMU: Terminated
244250
245251
[1]: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.subset.boards.express/index.html
246252
[2]: https://www.rt-thread.org/download.html#download-rt-thread-env-tool
247-
[3]: https://launchpad.net/gcc-arm-embedded/5.0/5-2016-q3-update/+download/gcc-arm-none-eabi-5_4-2016q3-20160926-linux.tar.bz2
253+
[3]: https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads
248254
[4]: https://github.com/BernardXiong
249255
[5]: https://github.com/recan-li

0 commit comments

Comments
 (0)