1,先解压缩。linux
2,sudo vim /etc/profile vim
在文件最后加上gcc
export PATH="$PATH:/路径/.../bin"file
3,source /etc/profilegc
4,arm-linux-gcc -v 以查看版本信息确认是否安装成功im