示例1:
预处理:
gcc -E test.c -o test.i或
gcc -E test.c
编译为汇编代码(Compilation):
gcc -S test.i -o test.s
汇编(Assembly):
gcc -c test.s -o test.o
连接(Linking):
gcc test.o -o test
预处理:
gcc -E test.c -o test.i或
gcc -E test.c
编译为汇编代码(Compilation):
gcc -S test.i -o test.s
汇编(Assembly):
gcc -c test.s -o test.o
连接(Linking):
gcc test.o -o test