ubuntu搭建arm-linux-gcc
2017-05-06 13:33
232 查看
1.解压arm-linux-gcc-4.4.3.tar.gz到一个文件夹下,记住这个解压的目录
比如我的: /usr/local/arm/4.4.3stu@ubuntu:~$ tar zxvf arm-linux-gcc-4.4.3.tar.gz
2.配置系统环境变量
sudo gedit /etc/profile
a.在最后一行加上
export PATH=$PATH:/usr/local/arm/4.4.3/opt/FriendlyARM/toolschain/4.4.3/bin
b.使环境变量生效
stu@ubuntu:~$ source /etc/profile
3.检查是否安装成功
stu@ubuntu:arm-linux-gcc -v Using built-in specs. Target: arm-none-linux-gnueabi Configured with: /opt/FriendlyARM/mini2440/build-toolschain/working/src/gcc-4.4.3/configure --build=i386-build_redhat-linux-gnu --host=i386-build_redhat-linux-gnu --target=arm-none-linux-gnueabi --prefix=/opt/FriendlyARM/toolschain/4.4.3 --with-sysroot=/opt/FriendlyARM/toolschain/4.4.3/arm-none-linux-gnueabi//sys-root --enable-languages=c,c++ --disable-multilib --with-arch=armv4t --with-cpu=arm920t --with-tune=arm920t --with-float=soft --with-pkgversion=ctng-1.6.1 --disable-sjlj-exceptions --enable-__cxa_atexit --with-gmp=/opt/FriendlyARM/toolschain/4.4.3 --with-mpfr=/opt/FriendlyARM/toolschain/4.4.3 --with-ppl=/opt/FriendlyARM/toolschain/4.4.3 --with-cloog=/opt/FriendlyARM/toolschain/4.4.3 --with-mpc=/opt/FriendlyARM/toolschain/4.4.3 --with-local-prefix=/opt/FriendlyARM/toolschain/4.4.3/arm-none-linux-gnueabi//sys-root --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-c99 --enable-long-long --enable-target-optspace Thread model: posix gcc version 4.4.3 (ctng-1.6.1)
出现版本号,说明已安装成功
相关文章推荐
- ubuntu 下搭建arm-linux-gcc 命令未找到问题
- Ubuntu下Arm-Linux-GCC交叉编译环境的搭建
- 【Linux学习】Ubuntu下嵌入式交叉编译环境arm-linux-gcc搭建
- ubuntu下arm-linux-gcc交叉编译环境搭建
- Ubuntu 12.04嵌入式交叉编译环境arm-linux-gcc搭建过程图解
- ubuntu 下搭建arm-linux-gcc 命令未找到问题
- 【Linux学习】Ubuntu下嵌入式交叉编译环境arm-linux-gcc搭建
- Ubuntu 14.04 调试Tiny 6410,环境搭建: arm-linux-gcc+arm-linux-gdb server+Ecilpse IDE
- ubuntu下安装arm-linux-gcc-3.3.2,搭建交叉编译环境并设置路径
- Ubuntu下arm-linux-gcc编译环境的搭建
- ubuntu9.04下搭建交错编译环境arm-linux-gcc
- ubuntu 下搭建arm-linux-gcc 命令未找到问题
- 在Ubuntu13.10上自己动手搭建交叉编译环境arm-linux-gcc-4.8.2
- ubuntu上arm-linux-gcc交叉环境搭建问题解决
- Ubuntu下Arm-Linux-GCC交叉编译环境的搭建
- Ubuntu 9.04下arm-linux-gcc交叉编译环境的搭建
- Ubuntu下Arm-Linux-GCC交叉编译环境的搭建
- ubuntu12.10下arm-linux-gcc交叉编译环境的搭建
- Ubuntu下Arm-Linux-GCC交叉编译环境的搭建
- ubuntu14.01 搭建交叉编译环境arm-linux-gcc 4.3.2