ADS中debug,debugrel,release三个版本的区别
来源:互联网 发布:勇敢一点 薛之谦 知乎 编辑:程序博客网 时间:2024/05/18 22:10
在ADS1.2的CodeWarrior中,我们在建立项目时,一般在编译时有三种编译方式,即:Debug,DebugRel,Release。这三个版本的区别在于编译出来的目标文件是否包含调试信息(包含调试信息的多少),其中debug版本是对每个文件都增加调试信息,不进行优化,debugrel属于中间版本,是对某些文件增加调试信息,进行部分优化,release版本是最新版也就是最后的发行版,是将所有的代码进行优化,去除所有的调试信息。
下面是英文说明:
Debug
This build target is configured to build output binaries that are fully debuggable, at the expense of optimization. Use if you plan to build separate Debug and Release<BR>versions of your code. This build target provides the best debug view while you are developing your code. It is also configured to output basic image information in an error and messages window.
DebugRel
This build target is configured to build output binaries that provide adequate optimization, and give an adequate view. Use it if you plan to build a version of your code for debug, and release the same code to reduce testing.
Release
This build target is configured to build output binaries that are fully optimized, at the expense of debug information. Use it if you plan to build separate Debug and Release versions of your code. This build target outputs optimized code suitable for release.
另外:
一、生成的代码长度不一样,因为Debug版本不对代码进行优先,DebugRel进行少部分优化,Release对代码尽可能的优化。
二、其实我们知道,Debug或DebugRel版本我们往往是在调试时用,下载到目标版时,一般是下载到目标板的SDRAM进行。那么Debug的设置项RO_base,RW_base就可以设置成调试时的映射地址。而在Release设置项RO_base,RW_base就可以设置成实际运行时的映射地址。对三种编译方式设置好后,我们对不同的实际需要,选择不同的编译方式。
- ADS中debug,debugrel,release三个版本的区别
- AXD中debug,debugrel,release三个版本的区别
- Debug、Release、DebugRel区别
- AXD中debugrel和debug的区别
- release、debug版本的区别
- VS中Debug版本和Release版本的区别
- VC中debug 版本和release版本的区别
- Debug版本和Release版本的区别
- release版本与debug版本的区别
- debug版本和release版本的区别
- debug版本和release版本的区别
- Debug版本和Release版本的区别
- VisualC++中Debug和Release版本的区别
- VC中Release和Debug版本的区别
- vs中debug和release版本的区别
- VC中Release和Debug版本的区别
- vs中debug和release版本的区别
- vs201中debug和release两个版本的区别
- 软件工程管理
- NopCommerce数据迁移之【开启迁移功能】
- MM模块中常用到的透明表
- OpenStack设计与实现(三)KVM和QEMU浅析
- Java包装类、自动装箱与拆箱知识总结
- ADS中debug,debugrel,release三个版本的区别
- 如何让spring mvc web应用启动时就执行特定处理
- 初次接触分块思想
- 删除windows下过长路径的目录
- 一个简易的具有点击方法的UIImageView的封装
- 让那些白骨,别忘了回家
- Android四大基本组件介绍与生命周期
- 在信号处理函数中调用非可重入函数getpwnam
- 避免缓冲区溢出攻击的方法