CCS中Debug与Release的区别.doc

  1. 1、本文档共3页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
CCS中Debug与Release的区别

CCS中Debug与Release的区别CCS中Debug与Release的区别 本人原创:/工程师笔记 在调试程序时,程序员一般使用Debug选项来编译链接,而在程序最终完成,准备发布时, 就使用Release选项编译链接,生成更精简更高效的可执行文件。 具体到TI的DSP开发环境CCS中来说,Debug和Release实质上是编译链接的具体配置(Build Options)的集合, 它们是两种不同的配置集合,是CCS为用户提供的默认集合,前者用于调试阶段,后者用于发布。 两者最主要的区别在于Project-Build Options..-Compiler选项卡-Generate Debug选项的配置不同, Debug模式中选Full Symbolic Debug,而Release模式中选No Debug,这两种不同的选择下编译生成 的.out文件的大小相差在10倍以上。 而用户当然也可以建立自己的 Build Options 集合,并且把这个集合命名为任何你想叫的名字,它与Debug 和Release拥有完全同样的地位。 欲建立自己的Build Options 集合,选择Project-Configurations...,如下图: The difference between Debug and Release modes in CCS by?/%B9%A4%B3%CC%CA%A6%B1%CA%BC%C7 Programmers usually use Debug for debugging while Release for distributing when finished, the latter is more simplified and efficient. In the CCS programming environment, Debug and Release are sets of Build Options. They are two different sets of Options, both are default sets for users, the former for debugging while the latter for distributing. The main difference between them lies in :Project-Build Options..-Compiler -Generate Debug, In Debug mode Full Symbolic Debug option is selected, whereas No Debug option is selected in Release mode. The .out file is about 10 times bigger in Debug mode. Of course you can build your own sets of Build Options, and name them whatever you want, who have equal status to Debug and Release. If you want to build your own sets of Build Options , select Project-Configurations.. as shown below: 弹出如下窗口: the window below will pop: 选择ADD,并建立自己的配置集合,命名为myConfig,完成后,在下拉菜单中就出现了三个选项: Debug,Release,myConfig,如下图所示: choose ADD to build your build option, name it myConfig, for example. When finished, there will be 3 options in the drop-down menu--Debug,Release and myConfig, as shown below:

文档评论(0)

junjun37473 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档