CentOS 6.4配置arm-linux-gcc交叉环境

字体大小: 中小 标准 ->行高大小: 标准

CentOS 6.4配置arm-linux-gcc交叉环境

首先下载 arm-linux-gcc-3.4.5-glibc-2.3.6.tar.bz2

------------------------------------------分割线------------------------------------------

FTP地址:ftp://ftp1.linuxidc.com

用户名:www.6688.cc

密码:www.linuxidc.com

在 2013年LinuxIDC.com\11月\CentOS 6.4配置arm-linux-gcc交叉环境

下载方法见 http://www.linuxidc.com/Linux/2013-10/91140.htm

------------------------------------------分割线------------------------------------------

下载后解压arm-linux-gcc到制定文件夹
[arm@acer ~]$ sudo tar xvf arm-linux-gcc-3.4.5-glibc-2.3.6.tar.bz2 -C /opt/tool/
配置环境变量:[arm@acer ~]$ sudo vi /etc/profile
添加:PATH=/opt/tool/gcc-3.4.5-glibc-2.3.6/bin:$PATH
export PATH
保存退出。
执行[arm@acer ~]$ sudo source /etc/profile

查看 是否成功:[arm@acer ~]$ arm-linux-gcc
arm-linux-gcc arm-linux-gcc-3.4.5 arm-linux-gccbug
[arm@acer ~]$ arm-linux-gcc -v
Reading specs from /opt/tool/gcc-3.4.5-glibc-2.3.6/bin/../lib/gcc/arm-linux/3.4.5/specs
Configured with: /work/tools/create_crosstools/crosstool-0.43/build/arm-linux/gcc-3.4.5-glibc-2.3.6/gcc-3.4.5/configure --target=arm-linux --host=i686-host_pc-linux-gnu --prefix=/work/tools/gcc-3.4.5-glibc-2.3.6 --with-float=soft --with-headers=/work/tools/gcc-3.4.5-glibc-2.3.6/arm-linux/include --with-local-prefix=/work/tools/gcc-3.4.5-glibc-2.3.6/arm-linux --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit --enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long
Thread model: posix
gcc version 3.4.5

相关阅读

嵌入式arm linux环境中gdb+gdbserver调试 http://www.linuxidc.com/Linux/2013-04/83199.htm

arm linux根文件系统网络配置小结 http://www.linuxidc.com/Linux/2013-04/82889.htm

arm linux内核驱动异常定位方法分析--反汇编方式 http://www.linuxidc.com/Linux/2012-12/76075.htm

arm linux 的TLB miss和page fault的异常处理 http://www.linuxidc.com/Linux/2012-11/74776.htm

arm linux内核启动要求 http://www.linuxidc.com/Linux/2012-07/66200.htm

Arm-linux-gcc-4.3.2安装步骤 http://www.linuxidc.com/Linux/2012-03/56658.htm

更多CentOS相关信息见CentOS 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=14

此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/62782.html