您的位置:首页 > 运维架构 > Linux

arm-none-linux-gnueabi vs arm-linux – EABI vs Non-EABI

2011-02-22 18:57 288 查看
EABI is the new Application Binary Interface (ABI) specification for the ARM Architecture introduced in 2005. It aims to provide interoperability between binaries compiled by various compilers like codesourcery, ADS, RVCT, RVDS, etc. Which previous non-EABI binaries couldn’t provide. Thus, It is possible to link libraries created using different compilers with EABI support but old ABI libraries lacked that compatibility. This caused a lot of trouble to me recently. I compiled the linux kernel with EABI turned off. Then I compiled busybox and other libraries using arm-none-linux-gnueabi target as dynamically shared libraries. The kernel won’t load the rootfs built using EABI toolchain. It used to print, Kernel panic – not syncing: Attempted to kill init! I downloaded another toolchain(arm-linux target this time) and compiled the rootfs using it. This time, kernel had no trouble loading the file system. As I searched further, I learned that EABI and non-EABI are not inter-operable and hence the mess. I also learned that all the toolchain supplied by codesourcery since 2005 are EABI based. The arm-linux toolchain I downloaded recently(which is non-EABI) is not from codesourcery.

转自:http://geekwentfreak.wordpress.com/2010/10/23/arm-none-linux-gnueabi-vs-arm-linux-eabi-vs-non-eabi/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: