gcc --help: …… -c Compile and assemble, but do not link
GCC 常用的选项要知道: 如 -e -s -c -o -g -wall 等等 很疑惑楼主不知道 -c 是什么意思也能把它用上…… 生成的目标文件为.o文件,是不可执行的. 呵呵呵呵呵呵! -c Compile or assemble the source files, but do not link. The linking stage simply is not done. The ultimate output is in the form of an object file for each source file.
By default, the object file name for a source file is made by replacing the suffix .c, .i, .s, etc., with .o.
Unrecognized input files, not requiring compilation or assem