arm-linux-gcc4.4.3怎么安装

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了arm-linux-gcc4.4.3怎么安装相关的知识,希望对你有一定的参考价值。

1,下载并安装arm-linux-gcc

arm-linux-gcc-4.2.1的版本在http://ftp.snapgear.org/pub/snapgear/tools/arm-linux/这里可以下载,最新版arm-linux-tools-20080623.tar.gz这个可能是4.2.4的版本,因为下面有编译4.2.4的方法还有相应的代码包,build-arm-linux-4.2.14,此版本由于过大,我没有下载。

下面的这个是ARM官方给的下载链接http://www.codesourcery.com/gnu_toolchains/arm/download.html,然后将HOST选择为IA32 GNU/Linux,点击下载就可以了。不过前缀为arm-2010.09-51-arm-none-eabi-i686-pc-linux-gnu而不是arm-linux-。。。

在友善之臂官方网站http://www.arm9.net/download.asp下载arm-linux-gcc4.4.3。

2,删除之前安装有旧版本,执行

[root@localhost ~]# rm -rf /opt/arm

3,对新版本arm-linux-gcc-4.4.3进行解压(注意,如果我们加上了-C,那么就会自动解压到/usr/local/arm/这个目录下),但是友善之臂按照下列方式解压,不会解压到/usr/local/arm/目录下的,这是因为友善之臂把/usr/local/arm/目录修改成了 /opt/FriendlyARM/toolschain/,除非自己在把它修改过来
[root@localhost ~]# tar -ivxzf /smbroot/arm-linux-gcc-4.4.3.tar.gz -C /

4,修改配置文件,将arm-linux-gcc添加到环境变量中,因为arm-linux-gcc的命令是在/usr/local/arm/4.4.3/bin下,其目的通过对全局变量绑定使之能够在任意一个目录下能够执行该命令。

打开设置文件

[root@localhost opt]# vi /etc/profile

在打开的文件的

# Path manipulation
if [ "$EUID" = "0" ]; then
pathmunge /sbin
pathmunge /usr/sbin
pathmunge /usr/local/sbin
pathmunge /usr/local/arm/4.4.3/bin
fi
或者在文件末尾添加

export PATH=$PATH:/usr/local/arm/4.4.3/bin

保存退出

5,立即使新的环境变量生效,不用重启电脑

[root@localhost opt]# source /etc/profile

[root@localhost opt]#

6,检查是否将路径加入到PATH:

[root@localhost opt]# echo $PATH

显示的内容中有/usr/local/arm/4.4.3/bin,说明已经将交叉编译器的路径加入PATH。至此,交叉编译环境安装完成。
7,测试是否安装成功

首先,执行find命令查询一下arm-linux-gcc的位置

[root@localhost ~]# find / -name arm-linux-gcc

/opt/arm/toolschain/4.4.3/bin/arm-linux-gcc
[root@localhost ~]#

可以看到arm-linux-gcc的位置与环境变量中设定的路径一致

接下来查询arm-linux-gcc的版本

[root@localhost bin]# 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)
[root@localhost bin]#

可以看到arm-linux-gcc的版本号,至此,arm-linu-gcc已成功安装。
参考技术A 下载arm-linux-gcc-4.4.3.tar.gz安装包。

打开终端,输入 sudo tar xvzf arm-linux-gcc-4.4.3.tar.gz -C /

安装arm-linux-gcc-4.4.3

在终端输入 sudo vim /root/.bashrc,在最后一行输入:

export PATH=$PATH:/opt/toolschain/4.4.3/bin加入arm-linux-gcc的开发环境

安装兼容库,在终端输入:sudo apt-get install g++-multilib

测试成功没有,登录root后输入: arm-linux-gcc -v 查看是否安装成功。

安装arm-linux-gcc编译器时出现错误,请大神看看怎么回事

echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/ada/decl.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/ada/trans.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/ada/utils.c‘ >> tmp-gi.list
echo ‘[cp]‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/rtti.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/mangle.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/name-lookup.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/name-lookup.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/cp-tree.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/decl.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/call.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/decl.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/decl2.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/pt.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/repo.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/semantics.c‘ >> tmp-gi.list
/opt/buildroot-2011.05/output/host/usr/bin/ccache /usr/bin/gcc -c   -O2 -I/opt/buildroot-2011.05/output/host/include -I/opt/buildroot-2011.05/output/host/usr/include -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros          -Wno-overlength-strings    -DHAVE_CONFIG_H -I. -I. -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/. -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../include -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../libcpp/include -I/opt/buildroot-2011.05/output/host/usr/include -I/opt/buildroot-2011.05/output/host/usr/include -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../libdecnumber -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../libdecnumber/dpd -I../libdecnumber    /opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/dbgcnt.c -o dbgcnt.o
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/tree.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/parser.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/method.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/typeck2.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-common.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-common.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-lex.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-pragma.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-pragma.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/class.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/cp-objcp-common.c‘ >> tmp-gi.list
echo ‘[fortran]‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/fortran/f95-lang.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/fortran/trans-decl.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/fortran/trans-intrinsic.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/fortran/trans-io.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/fortran/trans-types.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/fortran/trans-types.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/fortran/trans.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/fortran/trans-const.h‘ >> tmp-gi.list
echo ‘[java]‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/java/java-tree.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/java/jcf.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/java/parse.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/java/builtins.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/java/class.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/java/constants.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/java/decl.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/java/expr.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/java/jcf-parse.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/java/lang.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/java/mangle.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/java/resource.c‘ >> tmp-gi.list
echo ‘[objc]‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/objc/objc-act.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-parser.c‘ >> tmp-gi.list
/opt/buildroot-2011.05/output/host/usr/bin/ccache /usr/bin/gcc -c   -O2 -I/opt/buildroot-2011.05/output/host/include -I/opt/buildroot-2011.05/output/host/usr/include -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros          -Wno-overlength-strings    -DHAVE_CONFIG_H -I. -I. -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/. -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../include -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../libcpp/include -I/opt/buildroot-2011.05/output/host/usr/include -I/opt/buildroot-2011.05/output/host/usr/include -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../libdecnumber -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../libdecnumber/dpd -I../libdecnumber    /opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/graphds.c -o graphds.o
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-tree.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-decl.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-objc-common.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-common.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-common.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-pragma.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-pragma.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/objc/objc-act.c‘ >> tmp-gi.list
echo ‘[objcp]‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/objcp/objcp-decl.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/objc/objc-act.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/objc/objc-act.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/rtti.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/mangle.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/name-lookup.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/name-lookup.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/cp-tree.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/decl.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/call.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/decl.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/decl2.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/pt.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/repo.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/semantics.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/tree.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/parser.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/method.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/typeck2.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-common.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-common.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-lex.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-pragma.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-pragma.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/cp/cp-objcp-common.c‘ >> tmp-gi.list
echo ‘[treelang]‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/treelang/tree1.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/treelang/treetree.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/treelang/treelang.h‘ >> tmp-gi.list
echo ‘[c]‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-lang.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-tree.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-decl.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-common.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-common.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-pragma.h‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-pragma.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-objc-common.c‘ >> tmp-gi.list
echo ‘/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/c-parser.c‘ >> tmp-gi.list
/bin/bash /opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../move-if-change tmp-gi.list gtyp-input.list
echo timestamp > s-gtyp-input
mawk -f /opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/opt-functions.awk -f /opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/optc-gen.awk \
        -v header_name="config.h system.h coretypes.h tm.h" < optionlist > options.c
/opt/buildroot-2011.05/output/host/usr/bin/ccache /usr/bin/gcc -c   -O2 -I/opt/buildroot-2011.05/output/host/include -I/opt/buildroot-2011.05/output/host/usr/include -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros          -Wno-overlength-strings    -DHAVE_CONFIG_H -I. -I. -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/. -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../include -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../libcpp/include -I/opt/buildroot-2011.05/output/host/usr/include -I/opt/buildroot-2011.05/output/host/usr/include -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../libdecnumber -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../libdecnumber/dpd -I../libdecnumber    /opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/opts-common.c -o opts-common.o
/opt/buildroot-2011.05/output/host/usr/bin/ccache /usr/bin/gcc -c   -O2 -I/opt/buildroot-2011.05/output/host/include -I/opt/buildroot-2011.05/output/host/usr/include -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros          -Wno-overlength-strings    -DHAVE_CONFIG_H -I. -I. -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/. -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../include -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../libcpp/include -I/opt/buildroot-2011.05/output/host/usr/include -I/opt/buildroot-2011.05/output/host/usr/include -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../libdecnumber -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../libdecnumber/dpd -I../libdecnumber    /opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/pointer-set.c -o pointer-set.o
/opt/buildroot-2011.05/output/host/usr/bin/ccache /usr/bin/gcc -c   -O2 -I/opt/buildroot-2011.05/output/host/include -I/opt/buildroot-2011.05/output/host/usr/include -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros          -Wno-overlength-strings    -DHAVE_CONFIG_H -I. -I. -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/. -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../include -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../libcpp/include -I/opt/buildroot-2011.05/output/host/usr/include -I/opt/buildroot-2011.05/output/host/usr/include -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../libdecnumber -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../libdecnumber/dpd -I../libdecnumber    /opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/sparseset.c -o sparseset.o
/opt/buildroot-2011.05/output/host/usr/bin/ccache /usr/bin/gcc -c   -O2 -I/opt/buildroot-2011.05/output/host/include -I/opt/buildroot-2011.05/output/host/usr/include -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros          -Wno-overlength-strings    -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/build -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../include -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../libcpp/include -I/opt/buildroot-2011.05/output/host/usr/include -I/opt/buildroot-2011.05/output/host/usr/include -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../libdecnumber -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../libdecnumber/dpd -I../libdecnumber    -o build/genchecksum.o /opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/genchecksum.c
/opt/buildroot-2011.05/output/host/usr/bin/ccache /usr/bin/gcc -c   -O2 -I/opt/buildroot-2011.05/output/host/include -I/opt/buildroot-2011.05/output/host/usr/include -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros          -Wno-overlength-strings    -DHAVE_CONFIG_H -I. -I. -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/. -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../include -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../libcpp/include -I/opt/buildroot-2011.05/output/host/usr/include -I/opt/buildroot-2011.05/output/host/usr/include -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../libdecnumber -I/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/../libdecnumber/dpd -I../libdecnumber    /opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/errors.c -o errors.o
if [ xinfo = xinfo ]; then \
  makeinfo --split-size=5000000 --no-split -I . -I /opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc \
   -I /opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/include -o doc/cpp.info /opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/cpp.texi; \
 fi
if [ xinfo = xinfo ]; then \
  makeinfo --split-size=5000000 --no-split -I . -I /opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc \
   -I /opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/include -o doc/gcc.info /opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/gcc.texi; \
 fi
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/cppopts.texi:757: @itemx must follow @item
make[2]: *** [doc/cpp.info] 错误 1
make[2]: *** 正在等待未完成的任务....
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/gcc.texi:89: warning: @tex should only appear at a line beginning
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/gcc.texi:89: warning: @end should only appear at a line beginning
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/gcc.texi:91: warning: @tex should only appear at a line beginning
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/gcc.texi:91: warning: @end should only appear at a line beginning
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/invoke.texi:961: @itemx must follow @item
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/cppopts.texi:757: @itemx must follow @item
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/invoke.texi:8574: @itemx must follow @item
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/extend.texi:4234: @subsection seen before @end table
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/extend.texi:4263: @item outside of table or list
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/extend.texi:4264: @itemx outside of table or list
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/extend.texi:4277: unmatched `@end table‘
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/invoke.texi:855: warning: node next `Overall Options‘ in menu `C Dialect Options‘ and in sectioning `Invoking G++‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/invoke.texi:855: warning: node up `Overall Options‘ in menu `Option Summary‘ and in sectioning `Invoking GCC‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/invoke.texi:1282: warning: node prev `C Dialect Options‘ in menu `Overall Options‘ and in sectioning `Invoking G++‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/invoke.texi:1282: warning: node up `C Dialect Options‘ in menu `Option Summary‘ and in sectioning `Invoking GCC‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/invoke.texi:1617: warning: node up `C++ Dialect Options‘ in menu `Option Summary‘ and in sectioning `Invoking GCC‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/invoke.texi:2198: warning: node up `Objective-C and Objective-C++ Dialect Options‘ in menu `Option Summary‘ and in sectioning `Invoking GCC‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/invoke.texi:2475: warning: node up `Language Independent Options‘ in menu `Option Summary‘ and in sectioning `Invoking GCC‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/invoke.texi:2536: warning: node up `Warning Options‘ in menu `Option Summary‘ and in sectioning `Invoking GCC‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/invoke.texi:4058: warning: node up `Debugging Options‘ in menu `Option Summary‘ and in sectioning `Invoking GCC‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/invoke.texi:5102: warning: node up `Optimize Options‘ in menu `Option Summary‘ and in sectioning `Invoking GCC‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/invoke.texi:7334: warning: node up `Preprocessor Options‘ in menu `Option Summary‘ and in sectioning `Invoking GCC‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/invoke.texi:7371: warning: node up `Assembler Options‘ in menu `Option Summary‘ and in sectioning `Invoking GCC‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/invoke.texi:7394: warning: node up `Link Options‘ in menu `Option Summary‘ and in sectioning `Invoking GCC‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/invoke.texi:7611: warning: node up `Directory Options‘ in menu `Option Summary‘ and in sectioning `Invoking GCC‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/invoke.texi:7749: warning: node up `Spec Files‘ in menu `Option Summary‘ and in sectioning `Invoking GCC‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/invoke.texi:8281: warning: node up `Target Options‘ in menu `Option Summary‘ and in sectioning `Invoking GCC‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/extend.texi:1122: warning: node next `Zero Length‘ in menu `Variable Length‘ and in sectioning `Empty Structures‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/extend.texi:1220: warning: node next `Empty Structures‘ in menu `Variadic Macros‘ and in sectioning `Variable Length‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/extend.texi:1220: warning: node prev `Empty Structures‘ in menu `Variable Length‘ and in sectioning `Zero Length‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/extend.texi:1236: warning: node next `Variable Length‘ in menu `Empty Structures‘ and in sectioning `Variadic Macros‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/extend.texi:1236: warning: node prev `Variable Length‘ in menu `Zero Length‘ and in sectioning `Empty Structures‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/extend.texi:1319: warning: node prev `Variadic Macros‘ in menu `Empty Structures‘ and in sectioning `Variable Length‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/extend.texi:1537: warning: node next `Designated Inits‘ in menu `Cast to Union‘ and in sectioning `Case Ranges‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/extend.texi:1681: warning: node next `Case Ranges‘ in menu `Mixed Declarations‘ and in sectioning `Cast to Union‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/extend.texi:1681: warning: node prev `Case Ranges‘ in menu `Cast to Union‘ and in sectioning `Designated Inits‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/extend.texi:1718: warning: node next `Cast to Union‘ in menu `Case Ranges‘ and in sectioning `Mixed Declarations‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/extend.texi:1718: warning: node prev `Cast to Union‘ in menu `Designated Inits‘ and in sectioning `Case Ranges‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/extend.texi:1759: warning: node prev `Mixed Declarations‘ in menu `Case Ranges‘ and in sectioning `Cast to Union‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/extend.texi:3360: warning: node next `Character Escapes‘ in menu `Variable Attributes‘ and in sectioning `Alignment‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/extend.texi:3366: warning: node next `Alignment‘ in menu `Inline‘ and in sectioning `Variable Attributes‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/extend.texi:3366: warning: node prev `Alignment‘ in menu `Type Attributes‘ and in sectioning `Character Escapes‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/extend.texi:3402: warning: node prev `Variable Attributes‘ in menu `Character Escapes‘ and in sectioning `Alignment‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/extend.texi:3938: warning: node next `Type Attributes‘ in menu `Alignment‘ and in sectioning `Inline‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/extend.texi:4316: warning: node prev `Inline‘ in menu `Alignment‘ and in sectioning `Type Attributes‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/trouble.texi:7: warning: node next `Trouble‘ in menu `Service‘ and in sectioning `Bugs‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/trouble.texi:7: warning: node prev `Trouble‘ in menu `Bug Reporting‘ and in sectioning `Gcov‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/trouble.texi:7: warning: node up `Trouble‘ in menu `Bugs‘ and in sectioning `Top‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/service.texi:6: warning: node prev `Service‘ in menu `Trouble‘ and in sectioning `Bugs‘ differ
/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5/gcc/doc/service.texi:6: warning: node up `Service‘ in menu `Bugs‘ and in sectioning `Top‘ differ
make[2]: *** [doc/gcc.info] 错误 1
make[2]:正在离开目录 `/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5-initial/gcc‘
make[1]: *** [all-gcc] 错误 2
make[1]:正在离开目录 `/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5-initial‘
make: *** [/opt/buildroot-2011.05/output/toolchain/gcc-4.3.5-initial/.compiled] 错误 2
[email protected]:/opt/buildroot-2011.05#


















































































































































































以上是关于arm-linux-gcc4.4.3怎么安装的主要内容,如果未能解决你的问题,请参考以下文章

友善之臂arm-linux-gcc-4.4.3.tar.gz怎么安装

如何安装arm-linux-gcc

安装交叉工具链arm-linux-gcc

ubuntu11 安装交叉编译 arm-linux-gcc 4.4.3出现崩溃型问题,希望高手相助。

关于linux安装arm-linux-gcc中安装兼容库出现问题

ubuntu arm-linux-gcc 4.4.3怎么编译hello.c