
ARM-Linux-GCC-3.4.1(交叉编译器)
5星
- 浏览量: 0
- 大小:None
- 文件类型:None
简介:
简介:ARM-Linux-GCC-3.4.1是一款针对ARM架构进行软件开发的交叉编译工具链,适用于Linux环境,便于开发者在非目标平台上生成适用于ARM处理器的可执行文件。
Arm-linux-gcc交叉编译器版本为3.4.1,用于在Linux环境下进行ARM开发工作。安装步骤如下:
1. 使用命令`tar zxvf arm-linux-gcc-3.4.1.tgz -C/`来解压和移动文件。
2. 编辑用户配置文件`.bashrc`并添加一行:`export PATH=$PATH:/usr/local/arm/3.4.1/bin`
3. 验证安装是否成功,可以通过以下命令进行:
```
[root@xxxxx root]# arm-linux-gcc -v
Reading specs from /usr/local/arm/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/specs
Configured with: /opt/crosstool/crosstool-0.28/build/arm-linux/gcc-3.4.1-glibc-2.3.2/gcc-3.4.1/configure --target=arm-linux --host=i686-host_pc-linux-gnu --prefix=/opt/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.2 --with-float=soft --with-headers=/opt/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.2/arm-linux/include --with-local-prefix=/opt/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.2/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.1
```
此命令将显示交叉编译器的版本信息,确认安装成功。
全部评论 (0)


