CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 8328|回复: 3

CT1编译Android失败

[复制链接]
发表于 2014-1-19 09:56:06 | 显示全部楼层 |阅读模式
CT1编译Android时提示:
arm-linux-gnueabi-gcc: error: unrecognized command line option ‘--min_array_alignment=4’
arm-linux-gnueabi-gcc: error: unrecognized command line option ‘--no_unaligned_access’

Android源码下载地址:http://docs.cubieboard.org/tutorials/ct1/installation/cb3_a20-compiling_android_image_for_cubietruck

系统为Ubuntu 12.04 X64
Toolchain是用这个方法安装的 http://linux-sunxi.org/Toolchain

arm-linux-gnueabi-gcc -v 版本信息
COLLECT_GCC=arm-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabi/4.7/lto-wrapper
Target: arm-linux-gnueabi
gcc version 4.7.1 (Ubuntu/Linaro 4.7.1-5ubuntu1~ppa1)

gcc -v 版本信息
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)

请问怎么解决这个问题呢?编译需要什么版本呢?

回复

使用道具 举报

 楼主| 发表于 2014-1-20 12:03:32 | 显示全部楼层
OK了,问题已经解决。
回复 支持 反对

使用道具 举报

发表于 2014-3-11 20:14:22 | 显示全部楼层
请问有编译Android的教程吗
回复 支持 反对

使用道具 举报

发表于 2015-4-18 12:26:11 | 显示全部楼层
楼主,你倒是说说你是怎么解决的阿,我也遇到这个问题了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-5-8 06:04 , Processed in 0.019951 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部