CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
12
返回列表 发新帖
楼主: 醉月

deibian的交叉编译器gcc-arm-linux-gnueabihf的问题

[复制链接]
发表于 2013-9-29 23:42:08 | 显示全部楼层
linux内核实现不使用浮点运算,即使强行使用CFLAG设置针对特定浮点单元优化也一样。
"make V=1"编译内核看看输出的编译命令可以证实这一点。

使用的是 armhf 系统,最好使用arm-linux-gnueabihf-前缀的相应工具链,省得到时候出现无法定位的怪问题。
回复 支持 反对

使用道具 举报

发表于 2013-10-3 18:13:22 | 显示全部楼层
怎么会没有hf呢……update一下,再说如果不涉及浮点是完全可以的,涉及呢,就有点麻烦了,速度问题或根本不能用
回复 支持 反对

使用道具 举报

发表于 2013-12-7 21:36:31 | 显示全部楼层
这个帖子说的蛮详细的,区别就是免费下载的lite版本没有硬件浮点运算加速,

http://stackoverflow.com/questio ... ery-lite-2013-05-24

The Sourcery CodeBench Lite toolchain does not support armhf. Nor do the Academic or Personal editions.

You'll need to purchase the Standard or Professional editions to get that.

Alternatively, I believe the cross-compiler packages for Ubuntu support the configuration you need (in fact, only that configuration).

If you're not using Ubuntu, then the pre-built Linaro toolchains should be exactly what you need. (The Ubuntu cross compiler packages are/were also built by Linaro people, albeit using the Debian/Ubuntu-specific deb build system.)

回复 支持 反对

使用道具 举报

发表于 2014-8-19 17:02:06 | 显示全部楼层
在论坛turuoial中是需要hf的,见
http://docs.cubieboard.org/tutor ... ietruck_cubieboard3

$cp cubie_configs/kernel-configs/3.4/cubietruck_defconfig linux-sunxi/.config
$cd linux-sunxi
$git checkout -b cubie-3.4 cubie/sunxi-3.4
$make ARCH=arm menuconfig
$-->change as you want-->and save the new config
$make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage modules
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-3-29 09:38 , Processed in 0.019492 second(s), 12 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部