2014年9月26日 星期五

ARM toolchain 中叫做EABI 的東西, ABI

原文 http://blog.csdn.net/flagyan/article/details/6166107

EABI (Embedded Application Binary Interface)

ABI, 描述了應用程式與OS, 應用程式與函式庫, 應用程式的component之間的底層interface.
ABI允許編譯好的物件在使用兼容 ABI的系統中可以不需任何改動就能執行.

EABI的具體定義
http://support.codesourcery.com/GNUToolchain/kbentry32

Question
What is the ABI for the ARM Architecture? Is it the same as the ARM EABI?
Answer
The ABI for the ARM Architecture is a standard developed by ARM and its partners that explains how compilers, assemblers, linkers, and other similar tools should generate object files and executable files.
Tools that correctly implement the ABI for the ARM Architecture can interoperate; i.e., object files built with one toolchain can be combined with object files built with another toolchain if both compilers use the ABI for the ARM Architecture and provided that the code compiled observes certain conventions.
CodeSourcery was an active participant in the design of the ABI for the ARM Architecture. (In fact, the C++ ABI used by ARM is derived from the Itanium C++ ABI co-designed by CodeSourcery.) CodeSourcery continues to work with ARM, Ltd. to validate interoperability between Sourcery G++ and ARM's proprietary tools.
The "ARM EABI" is an informal name for the ABI for the ARM Architecture.


本來在看怎麼讓i.MX6裝上Freescale沒支援的ubuntu 12.04版本
http://feilipu.me/2013/11/09/udoo-ubuntu-12-04-guide/
http://boundarydevices.com/running-linaro-ubuntu-on-i-mx6-sabre-lite-and-nitrogen6x/
https://community.freescale.com/thread/313871
有人提了一句  何不用 armhf?   Could you please tell me, why didn't you made armhf linux?
繼續看armel armhf, 

http://baike.baidu.com/view/3547622.htm
什么是EABI?
Embedded application binary interface, 即嵌入式应用二进制接口,是描述可连接目标代码,库目标代码,可执行文件影像,如何连接,执行和调试,以及目标代码生成过程,和c, c++语言接口的规范,是编译连接工具的基础规范,也是研究它们工作原理的基础.
ddddd

http://fred-zone.blogspot.tw/2009/07/armarmel.html

在 Debian 5.0 Lenny Release 後,出現了一個新的名詞『armel』,可以在許多 ARM toolchain packages 身上看到,而 armel 顧名思義就是針對 ARM Architecture 的實作,但與古老的『arm』最大不同在於『armel』的移植是新的 ARM EABI ,對一些新的 ARM processor 特性有著更好的實作改進和支援,像是更動 Floating point、Stack alignment 等部份。
更多新的 ARM EABI 細節和說明,可以在 Debian 的官方 Wiki 上找到解答:
https://wiki.debian.org/ArmEabiPort

http://www.cnx-software.com/2012/05/18/getting-ubuntu-armelarmhf-rootfs-in-ubuntu-12-04/

沒有留言:

張貼留言