2012年2月9日 星期四

gcc編譯選項

gcc編譯選項

-c 只做預處理(preprocessor)、組譯(Assembler)、還有編譯(Compiler),不做連結
-S 只做組譯(Assembler) 
-e 只做預處理(preprocessor) 
-o file 輸出名稱 
-v 編譯時顯示工具的詳細資訊 
-Wall 警告訊息 
-g debug用(gdb)

沒有留言:

張貼留言