1.GCC编译过程:
2.GCC编译命令:
gcc hello.c -o hello
------------------------------------------
预处理: gcc -E hello.c -o hello.i
编 译: gcc -S hello.i -o hello.s
汇 编: gcc -c hello.s -o hello.o
链 接: gcc hello.o -o hello
------------------------------------------
文件属性: file hello
hello: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped