日期:2014-05-16  浏览次数:20698 次

请教内核打开了EABI,应用程序也需要用EABI编译吗?
内核中打开了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.
=============================================================================

------解决方案--------------------
lz啊 我四级考了3次的人都看出来了
This is only useful if you are using a user space environment that is also compiled with EABI.

要用EABI就必须都用