chinesebear 发表于 2015-10-22 09:08:56

GNU GCC 工具链下载 for RT-Thread on smart loong

本帖最后由 chinesebear 于 2015-10-22 09:21 编辑

RTT的2.1.0版本发布了,经过多次折腾发现龙芯官方的GCC只适合编译linux系统,对于RTT这种系统,无法编译通过。
bernard建议用code sourcery的MIPS编译器编译。经过此编译器,新的RTT编译通过。:)加载RTT到智龙上,系统的finsh默认模式是msh,该模式下,可以想linux shell一样操作命令。另外一个模式C-style,此模式是C函数代替命令。之前说rtt的shell不够power,是我对RTT不了解造成的。
我在linux下就安装了两个编译器,one for linux, the other for RTT.希望大家多多支持RTT。我的邮箱:swubear@163.com,我会竭尽所能帮助大家。
诸君好运!

原帖:https://coding.net/u/bernard/p/rtthread_tools/git/blob/master/GCC_Toolchains.md



GNU GCC 工具链下载

ARM版本

Code Sourcery G++ Lite 2014.05.28版本下载链接 #

Windows平台

安装包
https://sourcery.mentor.com/GNUT ... 8-arm-none-eabi.exe

解压包
https://sourcery.mentor.com/GNUT ... 686-mingw32.tar.bz2

Linux

安装包
https://sourcery.mentor.com/GNUT ... 8-arm-none-eabi.bin

解压包
https://sourcery.mentor.com/GNUT ... c-linux-gnu.tar.bz2

如果是64位的Ubuntu,还需要安装32位运行环境

sudo dpkg --add-architecture i386
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
MIPS版本

Windows平台

安装包
https://sourcery.mentor.com/GNUT ... 19-mips-sde-elf.exe

解压包
https://sourcery.mentor.com/GNUT ... 686-mingw32.tar.bz2

Linux平台

安装包
https://sourcery.mentor.com/GNUT ... 19-mips-sde-elf.bin

解压包
https://sourcery.mentor.com/GNUT ... c-linux-gnu.tar.bz2

x86版本

TODO

Nios-II版本(2015.5.13)

https://sourcery.mentor.com/GNUT ... nios2-linux-gnu.bin

https://sourcery.mentor.com/GNUT ... nios2-linux-gnu.exe

https://sourcery.mentor.com/GNUT ... c-linux-gnu.tar.bz2

https://sourcery.mentor.com/GNUT ... 686-mingw32.tar.bz2

简单平安 发表于 2015-10-22 11:06:51

赞!
页: [1]
查看完整版本: GNU GCC 工具链下载 for RT-Thread on smart loong