I am trying to \"arm\" compile a C file,it includes lot of header files recursively..i am trying to find the list of these header files..is there a easier way to find the li
As per http://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html#Preprocessor-Options -H and -M option are useful for this purpose.
Another option is to use http://www.doxygen.nl/ and generate documentation of your project, after that you can check it to see file dependencies :), it is preferred because it supports many languages: C, C++, Objective-C, C#, PHP, Java, Python, IDL (Corba and Microsoft flavors), FORTRAN, VHDL, Tcl.