Where can I find header files in C on unix

北慕城南 提交于 2019-12-11 06:44:10

问题


Where can I find my C header files on unixOS.Please kindly give me your inputs.


回答1:


GCC looks in several different places for headers. On a normal Unix system, if you do not instruct it otherwise, it will look for headers requested with #include in:

 /usr/local/include
 libdir/gcc/target/version/include
 /usr/target/include
 /usr/include


来源:https://stackoverflow.com/questions/14470985/where-can-i-find-header-files-in-c-on-unix

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!