Related articles |
---|
Looking for tool to generate C/C++ crossrefs andrewb@cs.washington.edu (Andrew Berg) (1998-10-04) |
Re: Looking for tool to generate C/C++ crossrefs ok@atlas.otago.ac.nz (Dr Richard A. O'Keefe) (1998-10-06) |
Re: Looking for tool to generate C/C++ crossrefs keil@ert.rwth-aachen.de (Wolfgang Keil) (1998-10-07) |
Re: Looking for tool to generate C/C++ crossrefs ludemann@inxight.com (1998-10-10) |
Re: Looking for tool to generate C/C++ crossrefs jaxon@soltec.net (Greg Jaxon) (1998-10-13) |
From: | ludemann@inxight.com |
Newsgroups: | comp.compilers |
Date: | 10 Oct 1998 01:04:46 -0400 |
Organization: | Compilers Central |
References: | 98-10-025 |
Keywords: | C, tools |
Andrew Berg <andrewb@cs.washington.edu> wrote:
> I am looking for a tool to generate cross references for a collection
> of C/C++ source and header files. Basically all I want is for each
> symbol to know the line it is defined on and the lines it is
> referenced on. Ideally this would include preprocessor macros.
No need to roll your own; there already exist a number of such tools.
Might I suggest:
http://www.usc.edu/dept/robotics/personal/af0a/tools/ctoohtml/ctoohtml.html
which marks up the source with HTML cross-links? It's not brilliantly
fast (Perl code). [It uses etags to get the crossreferences.]
Another tool is a javadoc-style system (combining this with ctoohtml
makes quite nice program documentation).
http://www.zib.de/Visual/software/doc++/index.html
If you do an Infoseek (or similar) search for "ctoohtml", you'll get
other references to C++ pretty-printers, cross-references, etc. One
place to start is:
http://www.w3.org/Tools/Prog_lang_filters.html
- Peter Ludemann ludemann@inxight.com
Return to the
comp.compilers page.
Search the
comp.compilers archives again.