请教内核打开了EABI,应用程序也需要用EABI编译吗?

roamer888 2012-05-16 10:22:49
内核中打开了ARM EABI,并且用EABI编译器编译的,这意味着应用程序是否也需要用EABI来编译?

内核中的说明似乎不需要:
=============================================================================
CONFIG_AEABI:
This option allows for the kernel to be compiled using the latest
ARM ABI (aka EABI). This is only useful if you are using a user
space environment that is also compiled with EABI.

Since there are major incompatibilities between the legacy ABI and
EABI, especially with regard to structure member alignment, this
option also changes the kernel syscall calling convention to
disambiguate both ABIs and allow for backward compatibility support
(selected with CONFIG_OABI_COMPAT).

To use this you need GCC version 4.0.0 or later.
=============================================================================
...全文
78 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
roamer888 2012-05-20
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 的回复:]
lz啊 我四级考了3次的人都看出来了
This is only useful if you are using a user space environment that is also compiled with EABI.

要用EABI就必须都用
[/Quote]

老大,我服你了,我的错,谢谢你。
deep_pro 2012-05-16
  • 打赏
  • 举报
回复
lz啊 我四级考了3次的人都看出来了
This is only useful if you are using a user space environment that is also compiled with EABI.

要用EABI就必须都用

4,436

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 内核源代码研究区
社区管理员
  • 内核源代码研究区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧