Bläddra i källkod

gcc: add -c option

liuderchi 8 år sedan
förälder
incheckning
fc32c063cf
1 ändrade filer med 4 tillägg och 0 borttagningar
  1. 4 0
      pages/common/gcc.md

+ 4 - 0
pages/common/gcc.md

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