Dahuanxihuopusa 发表于 2013-03-31 11:38

交叉编译工具报错Fatal error: invalid -march= option: `armv4t'

自己编了个交叉编译工具报错!
电脑是: 64位
OS :ubuntu 12.04 64 bit

crosstool-ng :版本 crosstool-ng-1.9.3
开发板是 :s3c2440 , arm920t

配置按照这个博客配置的:http://blog.chinaunix.net/uid-20543672-id-94369.html

成功编译出来之后,开始提示找不到cc1我从libexec/gcc/arm-unknown-linux-gnueabi/4.3.2 这个目录找到了。

现在报这个错误:
steven@ubuntu:/usr/bin$ arm-unknown-linux-gnueabi-gcc ~/hello.c-o hello
Assembler messages:
Fatal error: invalid -march= option: `armv4t'

我配置的时候已经配置好了,就是armv4t.这是怎么个回事。


steven@ubuntu:/usr/bin$ file arm-unknown-linux-gnueabi-gcc
arm-unknown-linux-gnueabi-gcc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID=0xfa65732584666bd7829e63f5da98cb40bd33e1fa, stripped

憋了好几天了,搜也搜不到有用的信息,小弟这里先行谢过!

Dahuanxihuopusa 发表于 2013-04-03 16:49

:wink: 没有人能帮忙么,苦等。。。。
页: [1]
查看完整版本: 交叉编译工具报错Fatal error: invalid -march= option: `armv4t'