Is there a way to generate a cross reference listing for a c/c++ program
using gcc?
Eric writes:
>
> -Wl,-Map=mapfile.map,--cref
>
I'm not looking for a cross-reference from a symbol to its memory location
in linked file, rather a cross-reference from a symbol definition in a
program source file to its line number references in all the program source
files.
William Beebe writes:
>
>If you want that kind of cross referencing, then you shouild look at
Doxygen (http://www.stack.nl/~dimitri/doxygen/)
>
I need the cross-reference output from the compiler because I want to write
a source code browser like LXR. That's why I asked the question. Again,
William Beebe writes:
>
>... If you want what LXR provides (and yes, I looked it up) then get
Doxygen
>
Not only does Doxygen not meet my requirements, but also it doesn't make
much sense to me for each cross-reference tool to implement its own source
code parser and symbol database when the
so I have
cross-referenced linux and gcc sources and made the program and databases
available for download
from my web site www.pjalbrecht.com.
Paul Albrecht
Is there some reason gcc hasn't been or can't be enhanced to provide output for
a cross-referencing
programs?
Paul Albrecht
From: "Robert Dewar" <[EMAIL PROTECTED]>
> Paul Albrecht wrote:
> > Is there some reason gcc hasn't been or can't be enhanced to provide output
> > for a
> > cross-referencing programs?
> >
>
> No reason why it can't be, and the r
From: "Jim Wilson" <[EMAIL PROTECTED]>
> Paul Albrecht wrote:
> > Is there some reason gcc hasn't been or can't be enhanced to provide output
> > for
> > cross-referencing programs?
>
> FYI, there are a number of tools available for