(1)编译器arm-none-eabi-gcc下载
arm-none-eabi-gcc下载地址
(2)解压gcc-arm-none-eabi-4_8-2014q2-20140609-linux.tar.bz2
tar -xvjf gcc-arm-none-eabi-4_8-2014q2-20140609-linux.tar.bz2
(3)修改/etc/profile(或者修改~/.bashrc)
export PATH="$PATH:/home/ivens/gcc-arm-none-eabi/bin"
(4)使/etc/profile修改生效
source /etc/profile (source ~/.bashrc)
(5)测试arm-none-eabi-gcc安装是否成功
arm-none-eabi-gcc -v
如果你的系统是64位的却装了32位的arm-none-eabi-gcc可以用以下命令解决
No such file or directory问题.
sudo apt-get install lib32ncurses5 lib32tinfo5 libc6-i386