Compile Flow chart (take C language as sample ):
Step 1: Pre Processor
Modify source file , e.g. #include <stdio.h>instruction need stdio.h file , Pre processor will
Read stdio.h and insert directly into source.c file .
Step 2: Compiler
Translate source file into assembly language . (.c -> .s)
Step 3: Assembler
Translate assembly language into machine languageinstruction which is a binary file. (.s->.o)
Step 4: Linker(multiple .o -> .exe)
Notice that ourhelloprogram calls theprintffunction, whichis part of the standard C library provided by every C compiler. The printffunction resides in a separate precompiled object file called printf.o, whichmust somehow be merged with our hello.o program.
the linker handles this merge.
分享到:
相关推荐
compile
this is the c simple compile use java language finished!
Design Compile是synopsys的综合软件,它的功能是把RTL级的代码转化为门级网表。资源适合DC的 初学者
javacompile
扩充C0方法编译器,实现了四元式和汇编代码的生成,
Linux下的常用shell命令,文本编辑器vi和C语言编译、调试工具gcc、gdb的使用心得。
protobuf 建立proto文件的依赖编译关系
Python-2.7.13-xcompile.patch
Compile-CC 编译器源代码
javaCompile.exe是一个Editplus插件。 可以简化java程序运行流程。 直接运行java,不再先编译再运行。 减少无效动作,增加开发效率。
Compile
VC2005 X64 Compile 設定
compile-node-sass,编译sass/scss为css。
Except for minor details, C++ is a superset of the C programming language. In addition to the facilities provided by C, C++ provides flexible and efficient facilities for defining new types. A ...
dubbo示例代码dubbo-sample
一个编译器原码,能编译原文件,文档了有详细说明-The original code a compiler can compile the original document, the document has a detailed description
how to compile the sample ?
win10下vim开发stm32编译数据库文件例子
High Level Language Test on aarch64 GNU/Linux &High Level Language Test on x86_64 GNU/Linux