I am looking for a tool that will display the hierarchy of include
files for a C(++) source. For example for the following files
the output would look similar to
I guess this should be doable by analysing the result of the
preprocessor run during compilation, e.g. when compiling with
Does anybody know if such a tool exists, and if so, where I can find
it? I would like to run it in RedHat Linux 7.1, compiler is gcc-3.0.
PS: Probably someone will reply along the lines of "But this is
already included with RH Linux!", and make me look stupid. But what
the heck ...