LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2618|回复: 3

请问ABI是什么?

[复制链接]
发表于 2007-10-6 20:37:51 | 显示全部楼层 |阅读模式
看了看CLFS的embedded,在目标机为arm的文档里看到下面一步:


  1. 6.3. ABI Variables
  2. Setup for a Particular ABI:
  3. export BUILD="[From Chart]"
  4. The following table gives the entires for the different ABI's that CLFS Embedded supports. Make sure you select one for your build, this will ensure capatibilty of your build with your target architecture.
  5. Table 6.1. List of Build Variables
  6. ABI
  7. BUILD=Value
  8. 32-Bit MIPS  -mabi=32
  9.   32-Bit All Others  -m32
  10.   N32 MIPS  -mabi=n32
  11.   64-Bit MIPS  -mabi=64
  12.   64-Bit All Others  -m64

复制代码



请问这个ABI是什么意思呢,为什么跟mips扯上关系?
 楼主| 发表于 2007-10-6 21:45:17 | 显示全部楼层
查到ABI的意思了,是二进制兼容。可是怎么让arm和mips二进制兼容呢,而且我看到x86的embedded也有ABI变量,也是兼容mips
回复 支持 反对

使用道具 举报

发表于 2007-10-6 21:46:10 | 显示全部楼层
Application Binary Interface. 可以理解为二进制文件结构的规范。
可是怎么让arm和mips二进制兼容呢
简单的说:这是不可能的。因为两种体系结构的二进制文件不兼容。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-10-7 22:38:49 | 显示全部楼层
Post by manphiz
Application Binary Interface. 可以理解为二进制文件结构的规范。

简单的说:这是不可能的。因为两种体系结构的二进制文件不兼容。


了解,可是clfs文档里的话是什么意思?
回复 支持 反对

使用道具 举报

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

本版积分规则

快速回复 返回顶部 返回列表