gcc

作者: owl207 | 来源:发表于2018-11-20 00:45 被阅读0次

*-E 选项

只进行 预处理

gcc hello.c -E
gcc -E hello.c

*-S 选项

进行 预处理编译,生成 xx.s 文件

gcc hello.c -S
gcc -S hello.c

*-c 选项

进行 预处理编译汇编,生成 xx.o 文件

gcc hello.c -c
gcc -c hello.c

*-o 选项

gcc hello.c -o hello
gcc -o hello hello.c

相关文章

网友评论

    本文标题:gcc

    本文链接:https://www.haomeiwen.com/subject/jkbzfqtx.html