tools for getting call-graph info after compilation

Phil McRevis legalize@xmission.xmission.com
Fri Jan 7 10:26:00 GMT 2000


JAY LULLA <JAY.LULLA@Sun.COM> spake the secret code
< 387540DC.C07890F7@Sun.COM > thusly:

>Hi. I was wondering if anyone knows of GNU tools that can generate
>call-graph info while compiling and linking a big multi-file program.

What your describing is what I've heard called a "cross reference
generator" program.  The cygnus folks have a C++ source code analyzer
that does this (and more, apprently) and they have added some small
hooks to gcc in order to gather the necessary data.  I don't think
those hooks are enabled by default.  Cygnus only makes the source
available on some CD you buy from them, I think.  This particular
variation of gcc isn't completely available by FTP.
-- 
http://www.xmission.com/~legalize	Legalize Adulthood!
legalize@xmission.com
``Ain't it funny that they all fire the pistol,     <URL: http://
  at the wrong end of the race?''--PDBT     www.eden.com/~thewho>


More information about the Gcc-help mailing list