gcc预处理、编译、汇编、链接

预处理、编译、汇编、链接:

 1 #include <stdio.h>
 2 
 3 /*
 4 // Pre-processing
 5 gcc -E hello.c -o hello.i
 6 // Compiling
 7 gcc -S hello.i -o hello.s
 8 // Assembling
 9 gcc -c hello.s -o hello.o
10 // Linking
11 gcc hello.s -o hello
12 */
13 
14 int main()
15 {
16     printf("Hello World
");
17 
18     return 0;
19 }
原文地址:https://www.cnblogs.com/live-program/p/11887722.html