gcc -S -masm=intel example.c -o example.asm # intel语法的汇编
gcc -S -O0 -o example.s example.c # .s结尾的汇编
1.预处理
gcc -E test.c -o test.i
2.编译为汇编代码
gcc -S test.i -o test.s
3.汇编器将其编译为目标代码
gcc -c test.s -o test.o
4.连接(将其与标准库进行连接)
gcc test.o -o test
5.一步到位
gcc test.c -o test
xz -d filename.tar.xz
tar -xvf filename.tar