This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: what is stdinc and how can I get where it is ?


> If my assumption is correct, is there any command or options I can use
> to check where is the path that my gcc search for, since I always get
> error messages as "cannot find stddef.h" ?

If you use the -v option, gcc will print all the directories it's
going to look for include files, including the ones you specify. On my
system, it looks like:



#include "..." search starts here:
#include <...> search starts here:
 /home
 /usr/local/include
 /usr/lib/gcc/i486-linux-gnu/4.4.1/include
 /usr/lib/gcc/i486-linux-gnu/4.4.1/include-fixed
 /usr/include
End of search list.



John G


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]