Code::Blocks编译skyeye步骤

simulation Bryan注:原文前面关于C::B的介绍略去,这一篇文章主要是介绍编译的步骤。

是一款开源的软件仿真模拟器软件,可以用于嵌入式软件的开发调试,是由中国人开发的开源项目中比较突出的一个。本文作者主要关注CB的方法步骤,关于的详细内容,大家可以Google其他网站内容。

is an Open Source Software Project ( Licence). Origin from GDB/Armulator, The goal of is to provide an integrated environment in and Windows. 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 , , uc/OS-II (ucos-ii) etc. in , and analysis or debug them at source level. – .org

使用CodeBlocks-1.2.5(系统,已安装完整的编译环境)
使用编译:


        1.解压缩 1.2.5源码包-1.2.5_REL.tar.gz,生成-1.2.5_REL/目录。
        2.启动CodeBlocks,新建一空工程
                Project title(工程名称)设为 skyeye1.2.5
                Folder to create project in(工程文件路径)设为之前生成的-1.2.5_REL/目录
        3.在工程节点"skyeye1.2.5”处
                执行右键菜单"Add files recursively…",分别将源码目录 arch/ dbct/ device/ utils/  添加到工程里;
                        添加过程中会自动排除“"等非源码文件,如需导入请在“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 ";确定”:“处为""
                "Build targets"页签:
                        删除"Debug"和“Release";添加名为"all"的编译目标;
                        修改右侧"Type:"修改为"Console application”;
                        “Output filename”设为
        5.skyeye1.2.5版本内没有,需要在 -1.2.5_REL/ 目录下执行./configure创建
        6.在-1.2.5_REL/ 目录下创建启动所需的内核文件、文件系统、配置文件
        6.执行菜单"Project"–"Project–Set programs’ arguments…",显示"Select target"窗口
                选择"all"
                "Program arguments"加入启动参数,如"-e ./"
        7.执行菜单"Build"–”Build and run"(F9)
        8.默认使用xterm启动
使用可调试编译(待续)
手工配置编译(这个比较困难,以后尝试)

来自:http://www.linuxfans.org/bbs/thread-185750-1-4.html

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • Live
  • MySpace
  • RSS
  • Slashdot
  • Technorati
  • TwitThis

Related posts:

  1. QT4+MinGW+Code::Blocks IDE集成
  2. Code::Blocks IDE in openSUSE 11.1编译和安装指南
  3. Setting up Code::Blocks to work with SDL - 多媒体编程库
  4. JAM – Building tool for C/C++ instead of Make
  5. Code::Blocks + Qt体验
  6. 加法?减法:CodeLite or Code::Blocks just for another sourceinsight
  7. Linux下配置Code::Blocks帮助插件
  8. Debugging with Code::Blocks
  9. ProjectManager, Project and ProjectFile in Code::Blocks
  10. Code::Blocks IDE: 手动安装和配置编译器指南

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Contact us

Admin: Bryan Wu