gcc 由源码生成可执行文件的4步骤

来源:互联网 发布:java软件项目实战培训 编辑:程序博客网 时间:2024/04/27 19:03

1、预处理(preprocessor)

     cpp test.c < test.i

 

2、汇编(Compiler)

     gcc -Wall -S test.is

 

3、机器码(Assembler)

     as test.s -o test.o

 

4、链接(Linker)

     gcc test.o

原创粉丝点击