yes, thank you:jumping: John Graham-9 wrote: > >> How can I found that which stdio.h is compiler looking for? > > Pass the --verbose flag to gcc, and you'll get something like this > (amongst other output): > > $ gcc program.c --verbose > (...) > ignoring nonexistent directory "/usr/local/include/i486-linux-gnu" > ignoring nonexistent directory > "/usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../i486-linux-gnu/include" > ignoring nonexistent directory "/usr/include/i486-linux-gnu" > #include "..." search starts here: > #include <...> search starts here: > /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 >> > > -- View this message in context: http://old.nabble.com/How-to-find-right-header-files-when-multiple-versions-are-exist-tp27367117p27369641.html Sent from the gcc - Help mailing list archive at Nabble.com.