Is there Call graph in GCC ,another question

Ken Foskey
Thu Sep 16 11:53:00 GMT 2004

On Thu, 2004-09-16 at 20:22, wrote:
> hi,
> It is fine.
> I have another question:    Is there a tool that can generate call graph from source code of a program,without running the program?

The following creates a call graph from C code, C++ not supported.  Look
them up in google because I cannot remember the details myself.

cxref -xref-func -I../include afpprtx.c -Nxref -n xref.function >

dot -Tps > $

KenF developer

More information about the Gcc-help mailing list