gcc命令参数

参数

选项 含义
-v 查看gcc编译器的版本,显示gcc执行时的详细过程
-o Place the output into ;指定输出文件名为file,这个名称不能跟源文件名同名
-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; 编译和汇编,不会链接

猜你喜欢

转载自blog.csdn.net/xuejianbest/article/details/84791951