一、程序的编译链接过程
使用指令:gcc --help
-E Preprocess only; do not compile, assemble or link.
-S Compile only; do not assemble or link.
-c Compile and assemble, but do not link.-o <file> Place the output into <file>.
依次用到的指令(分别生成 .i , .s , .o , .out):
gcc -E hello.c -o hello.i
gcc -S hello.c -o hello.s
gcc -c hello.c -o hello.o
gcc hello.c -o hello