Is there a tool available that takes a set of source files and a map (graphically), how are they connected via #include?
I would like to see where there are any circular links.
The original Red Hat navigator . Highly recommended.
Red Hat source navigator http://vulcan.eager.googlepages.com/srcnav.png
I believe doxygen:
http://www.doxygen.org/
with installed graphical interface:
http://www.graphviz.org/
will do it.
gcc (1) can create dependency files. They are intended to be used by make (1), but they are relatively easy to parse. Use the 'gcc -M -MF file' or the 'gcc -MM -MF file'.