EABI还是GNU/Linux:如何正确选择合适的交叉工具链
2012-09-06 14:28
369 查看
转自:/article/7601446.html
并对里面的一些信息做了更新。
我们自己可以编译制作一个交叉编译工具链(Cross-compile Toolchain)来用,但为了方便、稳定起见,我们大多数时候会去选择成熟的第三方工具链。
codesourcery的交叉工具链是很常见的一种,以ARM为例,我们可以从http://www.codesourcery.com/sgpp/lite/arm/portal/subscription?@template=lite处下载到最新的版本:
在codesourcery的一个页面(http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/which-one)上我们找到了答案:
RTOS systems or "bare metal" systems where no operating system is present. These toolchains should not be used to build Linux kernels or applications.
Systems running uClinux, i.e. Linux on CPUs without an MMU. Use Sourcery CodeBench to build both the uClinux kernel and applications.
Systems running "full" Linux, i.e., Linux on CPUs with an MMU. Use Sourcery CodeBench to build both the Linux kernel and applications.
Systems running Microsoft Windows 2000, or any later version.
Full support for the Qualcomm Brew MP platform
也就是说,如果打算用来编译linux kernel或者基于linux的应用程序,则应该选择GNU/Linux;EABI/ELF适用于没有操作系统(或者RTOS)的裸机;uClinux适用于没有MMU的Linux。
这下明白了?
并对里面的一些信息做了更新。
我们自己可以编译制作一个交叉编译工具链(Cross-compile Toolchain)来用,但为了方便、稳定起见,我们大多数时候会去选择成熟的第三方工具链。
codesourcery的交叉工具链是很常见的一种,以ARM为例,我们可以从http://www.codesourcery.com/sgpp/lite/arm/portal/subscription?@template=lite处下载到最新的版本:
在codesourcery的一个页面(http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/which-one)上我们找到了答案:
EABI/ELF
RTOS systems or "bare metal" systems where no operating system is present. These toolchains should not be used to build Linux kernels or applications.
uClinux
Systems running uClinux, i.e. Linux on CPUs without an MMU. Use Sourcery CodeBench to build both the uClinux kernel and applications.
GNU/Linux
Systems running "full" Linux, i.e., Linux on CPUs with an MMU. Use Sourcery CodeBench to build both the Linux kernel and applications.
Windows
Systems running Microsoft Windows 2000, or any later version.
Brew MP
Full support for the Qualcomm Brew MP platform也就是说,如果打算用来编译linux kernel或者基于linux的应用程序,则应该选择GNU/Linux;EABI/ELF适用于没有操作系统(或者RTOS)的裸机;uClinux适用于没有MMU的Linux。
这下明白了?
相关文章推荐
- EABI还是GNU/Linux:如何正确选择合适的交叉工具链
- 【转】EABI还是GNU/Linux:如何正确选择合适的交叉工具链
- EABI还是GNU/Linux:如何正确选择合适的交叉工具链
- EABI还是GNU/Linux:如何正确选择合适的交叉工具链(嵌入式 Linux)(转)
- linux 内核编译 (如何正确选择内核驱动)
- 如何正确选择合适自己的英文学习方法和材料?
- EABI还是GNU/Linux
- 如何选择合适的Linux系统和版本 day1
- Linux-09、10-如何选择合适的Linux系统版本学习&服务器领域如何选择适合的CentOS Linux版本(L003-23,24)
- EABI还是GNU/Linux
- arm-Xilinx-linux-gnuieabi 交叉编译环境搭建
- 【zz】EABI还是GNU/Linux
- EABI还是GNU/Linux
- 如何正确选择合适自己的英文学习方法和材料?
- 简单描述为什么编译Android C程序所用的交叉编译工具链是arm-linux-androideabi-xx不是GNU开发的工具链arm-linux-gnueabi-xx?
- 如何选择合适的Linux发行版
- 如何选择Linux内核对应的交叉编译工具链
- 在gentoo上安装 mips64el-st-linux-gnu-交叉编译工具链
- GDB compile with arm-none-linux-gnueabi Howto