1. 程式人生 > >gcc命令引數

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; 編譯和彙編,不會連結