您的位置:首页 > 运维架构 > Linux

Ubuntu9.04下安装arm-linux-gcc交叉编译工具的摸索

2009-06-01 19:50 926 查看
"It includes minimal patches for gcc and glibc needed to build a few combinations of
(alpha, arm, i686, ia64, mips, powerpc, powerpc64, sh4, sparc, sparc64, s390, x86_64) x
(gcc-2.95.3 ... gcc-4.0.0) x
(glibc-2.1.3 ... glibc-2.3.5).
"

看了上面的说明,才发现farsight曹忠明的讲解可能有误

但JiangBo的为什么是“gcc-4.1.0-glibc-2.3.2”呢?前面装的是gcc-3.4呀!

终于,发现是Path问题,导致bash: arm-unknow-linux-gnu-gcc: command not found

如果$ /opt/crosstool/gcc-4.1.0-glibc-2.3.2/arm-unknown-linux-gnu/bin/arm-unknown-linux-gnu-gcc

arm-unknown-linux-gnu-gcc: no input files

算告一段落!

tbd Path?

Ref.
http://www.kegel.com/crosstool/current/doc/crosstool-howto.html http://blog.csdn.net/JiangBo_HIT/archive/2009/05/06/4154436.aspx http://www.embedu.org/Column/Column41.htm http://www.embedu.org/Column/Column48.htm
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: