|
发表于 2006-5-17 19:43:34
|
显示全部楼层
是这样的,编译(把源程序变成可执行程序)一个程序分成几步,先把源程序做预处理(检查错误之类),再编译(严格意义上的编译)成目标文件(这个过程是将c翻译成汇编)。assembly应该是由汇编翻译成机器指令程序。linking是把所有的目标文件链接起来(一个项目可能有很多程序组成,因此也可能有很多目标文件。)
Compilation can involve up to four stages: preprocessing, compilation proper, assembly and linking, always in that order. The first three stages apply to an individual source file, and end by producing an object file; linking combines all the object files (those newly compiled, and those specified as input) into an executable file. |
|