天嵌 ARM开发社区

 找回密码
 注册
查看: 1622|回复: 1

请教几个交叉编译环境的问题,高手请进,谢谢

[复制链接]
Huntsmen 发表于 2012-3-24 18:04:06 | 显示全部楼层 |阅读模式
想请教几个问题:
想用个第三方制作好的交叉编译工具链,天嵌推荐的是CodeSourcery的工具链,我进到主页https://sourcery.mentor.com/sgpp/lite/arm/portal/subscription?@template=lite
发现Target OS有4个类别,分别是EABI、uClinux、GNU/Linux、SymbianOS,看了一下它的介绍,
EABI:RTOS systems or "bare metal" systems where no operating system is present. These toolchains should not be used to build Linux kernels or 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.
EABI版的是针对RTOS或者裸奔的程序的,而GNU/Linux版本是针对编译kernel和linux app的,看了这个后有点疑惑,做嵌入式开发一般先是uboot、然后kernel+app,那这样的话我的Host PC上是不是要装2个工具链(EABI版和GNU/Linux版),一个用来编译Uboot,一个用来编译Kernel+app。

还有天嵌提供的EABI-4.3.3_EmbedSky_20091210.tar.bz2这个工具链,在/opt目录底下有2个文件夹,一个是4.3.3,一个是crosstools_3.4.5_softfloat,这2个有什么区别,是不是一个就是用来编译kernel,一个用来编译uboot的?

TQ_guoxixiao 发表于 2012-4-25 15:13:52 | 显示全部楼层
是的
我们2440编译uboot是用的3.4.5,编译内核和文件系统是用的4.3.3。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-9-28 11:24 , Processed in 1.044962 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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