Code::Blocks编译skyeye步骤
Bryan注:原文前面关于C::B的介绍略去,这一篇文章主要是介绍编译Skyeye的步骤。
Skyeye是一款开源的软件仿真模拟器软件,可以用于嵌入式软件的开发调试,是由中国人开发的开源项目中比较突出的一个。本文作者主要关注CB编译Skyeye的方法步骤,关于Skyeye的详细内容,大家可以Google其他网站内容。
SkyEye is an Open Source Software Project (GPL Licence). Origin from GDB/Armulator, The goal of SkyEye is to provide an integrated simulation environment in Linux and Windows. SkyEye environment simulates typical Embedded Computer Systems (Now it supports a series ARM architecture based microprocessors and Blackfin DSP Processor). You can run some Embedded Operation System such as ARM Linux, uClinux, uc/OS-II (ucos-ii) etc. in SkyEye, and analysis or debug them at source level. – Skyeye.org
使用CodeBlocks编译skyeye-1.2.5(linux系统,已安装完整的编译环境)
使用Makefile编译:
1.解压缩skyeye 1.2.5源码包skyeye-1.2.5_REL.tar.gz,生成skyeye-1.2.5_REL/目录。
2.启动CodeBlocks,新建一空工程
Project title(工程名称)设为 skyeye1.2.5
Folder to create project in(工程文件路径)设为之前生成的skyeye-1.2.5_REL/目录
3.在工程节点"skyeye1.2.5”处
执行右键菜单"Add files recursively…",分别将skyeye源码目录 arch/ dbct/ device/ utils/ 添加到工程里;
添加过程中会自动排除“Makefile"等非源码文件,如需导入请在“Multiple selection"窗口相应文件名前打钩。
展开右键菜单"Project tree",取消"Categorize by file types"状态;选择"Display folders as on disk"状态。
设置完成后,工程树按照源码的文件结构形式显示。
4.执行菜单"Project"–"Properties…“,显示”Project/targets options"窗口
"Project settings“页签:
勾选"This is a custom Makefile";确定”Makefile:“处为"Makefile"
"Build targets"页签:
删除"Debug"和“Release";添加名为"all"的编译目标;
修改右侧"Type:"修改为"Console application”;
“Output filename”设为skyeye。
5.skyeye1.2.5版本内没有Makefile,需要在 skyeye-1.2.5_REL/ 目录下执行./configure创建Makefile
6.在skyeye-1.2.5_REL/ 目录下创建skyeye启动所需的内核文件、文件系统、配置文件
6.执行菜单"Project"–"Project–Set programs’ arguments…",显示"Select target"窗口
选择"all"
"Program arguments"加入skyeye启动参数,如"-e ./linux"
7.执行菜单"Build"–”Build and run"(F9)
8.默认使用xterm启动skyeye
使用Makefile可调试编译(待续)
手工配置编译(这个比较困难,以后尝试)
来自:http://www.linuxfans.org/bbs/thread-185750-1-4.html
Related posts:
- QT4+MinGW+Code::Blocks IDE集成
- Code::Blocks IDE in openSUSE 11.1编译和安装指南
- Setting up Code::Blocks to work with SDL - 多媒体编程库
- JAM – Building tool for C/C++ instead of Make
- Code::Blocks + Qt体验
- 加法?减法:CodeLite or Code::Blocks just for another sourceinsight
- Linux下配置Code::Blocks帮助插件
- Debugging with Code::Blocks
- ProjectManager, Project and ProjectFile in Code::Blocks
- Code::Blocks IDE: 手动安装和配置编译器指南














