9256|6

23

帖子

0

TA的资源

一粒金砂(高级)

楼主
 

build 和compile 的区别? [复制链接]

keil uv3 中

build      target     “target1”
compile   *.1c
compile   *.2c
compile   *.3c
compile   *.4c
link…
programsize…
error warning…

build 和compile 的区别?
此帖出自单片机论坛

最新回复

楼上说的好啊  详情 回复 发表于 2009-9-7 17:31
点赞 关注
 

回复
举报

23

帖子

0

TA的资源

一粒金砂(高级)

沙发
 
IAR 中

building configuration:demo-debug
updateing build tree

linking
………………………………
error
woaring


make      compile        rebuild all 的区别?

先行谢过
此帖出自单片机论坛
 
 

回复

23

帖子

0

TA的资源

一粒金砂(高级)

板凳
 
iar中make和compile 的原意如下
make:Brings the current build configuration up to date by compiling, assembling, and linking only the files that have changed since the last build.

Compiles :Compiles or assembles the currently selected file, files, or group.
One or more files can be selected in the Workspace window—all files in the same project, but not necessarily in the same group. You can also select the editor window containing the file you want to compile. The Compile command is only enabled if every file in the selection is individually suitable for the command. You can also select a group, in which case the command is applied to each file in the group (including inside nested groups) that can be compiled, even if the group contains files that cannot be compiled, such as header files.

麻烦能否解释一下?

[ 本帖最后由 fengyun11747 于 2009-9-6 19:13 编辑 ]
此帖出自单片机论坛
 
 
 

回复

3836

帖子

19

TA的资源

纯净的硅(中级)

4
 

回复 楼主 fengyun11747 的帖子

编译:将用户代码(用高级语言编写的程序代码)转换为机器代码(机器可以识别的二进制代码)的过程。
Build:生成可执行文件
Compile只是对源文件进行编译,生成目标代码,就是.obj文件;Build则将目标模块进行连接,同时将它与一些系统模块进行装配,方法有很多种,动态连接,表态连接,可重定位连接,绝对地址连接等!总之,把目标模块.obj文件与系统模块进行装配,生成可执行文件!
此帖出自单片机论坛
 
 
 

回复

121

帖子

2642

TA的资源

纯净的硅(中级)

5
 

回复 4楼 fish001 的帖子

make
编译,连接当前工程。(编译只编译有改动文件,或者设置变动的文件,工程窗口文件右边会有个*号)

compile
只编译当前源文件。 (不管文件是否改动,或者设置是否变动)

rebuild all
编译,连接当前工程。 (不管文件是否改动,或者设置是否变动)
此帖出自单片机论坛
 
 
 

回复

196

帖子

0

TA的资源

五彩晶圆(中级)

6
 
楼上说的好啊
此帖出自单片机论坛
 
 
 

回复

23

帖子

0

TA的资源

一粒金砂(高级)

7
 
3q everyone.
楼上的楼上跟上官金虹 心有灵犀,呵呵。
此帖出自单片机论坛
 
 
 

回复
您需要登录后才可以回帖 登录 | 注册

随便看看
查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/6 下一条

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 国产芯 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表