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
Most compilers have switch to make them just preprocess the file. What means among other that they expand all #include's into an actual code. And usually they do include a comment (proper C comment) on the line of original include. So you can then search the resulting preprocessed code for all such comments to collect all included headers.