> What I want is not a nifty
> editor function. I want something that will read in my
> source code and produce something like this:
> 
> Procedure A calls:
>       B
>       C
>       D
> 
> Procedure B calls:
>       E
> 
> Procedure D calls:
>       F
>       G

I don't think the compiler will do this.  In fact, the compiler doesn't
even have this information in the normal course of doing its job.  Not
that the linker will export the information either.

If you know perl, it's probably a few hours work.  Care to share it when
you're done? :-)

> Another "nice-to-have" that most compilers generate is a
> list of variables used. That's a good way to ensure that
> you don't have any variables that are not used.

The -Wall flag to gcc will warn about unused variables.

> I can't find an option in GCC to do either of these two
> things, both of which are commonly provided by compilers :-(

Commonly by *what* compilers?  I've used several (for C/C++ and java)
on the four most common platforms and have never seen the first
feature.  Not that I'd mind the feature....

--Eric House

******************************************************************************
* From the desktop of: Eric House, [EMAIL PROTECTED]                            *
*     Check out Crosswords for PalmOS: <http://www.peak.org/~fixin/xwords>   *
*          "The instructions said 'Win98 or better' -- so I installed Linux" *
******************************************************************************

Reply via email to