Browse Source

gcc: add -c option

liuderchi 8 years ago
parent
commit
fc32c063cf
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pages/common/gcc.md

+ 4 - 0
pages/common/gcc.md

@@ -17,3 +17,7 @@
 - Compile source code into Assembler instructions:
 
 `gcc -S {{source.c}}`
+
+- Compile source code without linking:
+
+`gcc -c {{source.c}}`