Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
该目录通常位于何处?例如,当您编译具有链接到 GCC 源库的函数原型的头文件时?我问是因为我刚刚下载了具有 kmalloc 函数的slab.c(编译另一个头文件时出现链接错误,所以现在我有一个实现它的源代码文件)。
这个:-
`gcc -print-prog-name=cc1` -v
gcc 使用命令来检查头文件。