主题 : smart210 编译 复制链接 | 浏览器收藏 | 打印
白头搔更短。。
级别: 新手上路
UID: 98383
精华: 0
发帖: 22
金钱: 110 两
威望: 22 点
贡献值: 0 点
综合积分: 44 分
注册时间: 2013-11-25
最后登录: 2013-12-30
楼主  发表于: 2013-12-12 11:28

 smart210 编译

smart210 友善提供的fedora14/linux3.0.8/linux2.6.35 编译总是报错 cc1:error:unrecognized command line option "-fconserve-stack" gcc是4.3报错,升级到4.5.1也报同样的错,在共享目录试过在非共享目录也试过,填上GCC的完整路径也试过。真郁闷啊,开发板买快一个月了,还不能开机。是个啥情况?(不会要把上述情况所有排列组合都试一遍才会有真相吧).
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2013-12-12 16:28

 回 楼主(huxhua123) 的帖子

编译210的内核需要4.5.1版本的交叉编译工具链。
能否在make的命令行上加上V=1,然后把完整的编译输出贴出来?
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
2楼  发表于: 2013-12-12 18:15

 回 3楼(huxhua123) 的帖子

这个问题和你的交叉编译工具链版本有关,和你的Fedora的版本无关。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2013-12-12 22:03

 回 5楼(huxhua123) 的帖子

注意这里说的4.5.1是交叉编译器arm-linux-gcc的版本,不是你虚拟机里gcc的版本。从编译信息看,你用的还是/usr/local/arm/4.3.2/bin下面的arm-linux-gcc.
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."