如何得到编译器预处理头文件搜索路径? 56 次浏览 gcc可以通过--verbose获取。例如gcc --verbose demo.c #include "…" search starts here: #include <…> search starts here: /usr/lib/gcc/x86_64-linux-gnu/11/include/usr/local/include/usr/include/x86_64-linux-gnu/usr/includeEnd of search list.