电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

交叉编译环境搭建

交叉编译环境搭建_第1页
1/14
交叉编译环境搭建_第2页
2/14
交叉编译环境搭建_第3页
3/14
交叉编译环境搭建 一、Emdebian 介绍 Emdebian v ision In the Emdebian vision someone wishing to build a GNU / Linux based device would: 1. Port the linux kernel to their hardware (including writing any specific device drivers). 2. Select the prebuilt emdebian packages needed to support their application. 3. Package their application as Debian package(s) using Debian and Emdebian tools. 4. Build a root filesystem using Emdebian tools from the steps above. Emdebian is involved in steps 2,3,4 above (there are far too many embedded device hardware variations to make prebuilt kernels practical). Thus EmDebian is a binary distribution for embedded devices (whereas most of the other contenders in this space are source distributions [of course being Debian and open source the source code is still available if required]. What emdebian does In short, what EmDebian does is wrap around the regular debian package building tools to provide a more fine grained control over package selection, size, dependencies and content to enable creation of very small and efficient debian packages for use on naturally resource limited embedded targets. 二、搭建 GCC 编译开发环境 安装 G++/GCC 编译环境 su do apt-get install gcc g++ make gdb 可以使用man 命令查看GCC 和G++的帮助信息。 还可以通过 gcc –v/–version 命令查看其版本信息,通过这些信息我们能够了解到编译器的一些情况。 安装相应的开发帮助文件 使用以下命令安装开发所需的帮助文档,这些文档包括了 linux API 函数的说明和例子等等。 su do apt-get install manpages-dev manpages-posix -dev libstdc++6-4.4-doc 安装时,系统会将关联的软件包一并安装。 安装结束后,即可测试一下相关的帮助文档。 三、搭建 GCC 交叉编译开发环境 我们采用emdebian 提供的已配置好的交叉编译器,这样做可降低初学者的入门难度。当然,传统的嵌入式开发还是建议自己编译配置交叉编译器...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

交叉编译环境搭建

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部