看板 C_and_CPP 關於我們 聯絡資訊
: 怎麼知道在 C 語言是 include 哪個檔案?? do preprocessing: gcc -E test.c : 有沒有方法可以知道 compiler 在 compile & link 的時候, : link header 所參照的路徑呢? : 或是其他方法嗎? show cpp default search path: echo | gcc -E -Wp,-v - to append path, use option -I. -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 39.9.33.100 ※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1506838535.A.B96.html