Is there a way to generate a cross reference listing for a c/c++ program using gcc?

2005-05-13 Thread Paul Albrecht
Is there a way to generate a cross reference listing for a c/c++ program using gcc?

Re: Is there a way to generate a cross reference listing for a c/c++ program using gcc?

2005-05-13 Thread Paul Albrecht
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.

Re: Is there a way to generate a cross reference listing for a c/c++ program using gcc?

2005-05-15 Thread Paul Albrecht
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,

Re: Is there a way to generate a cross reference listing for a c/c++ program using gcc?

2005-05-16 Thread Paul Albrecht
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

gcc cross-reference

2005-11-16 Thread Paul Albrecht
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

question about gcc

2005-11-17 Thread 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

Re: question about gcc

2005-11-17 Thread 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

Re: question about gcc

2005-11-17 Thread Paul Albrecht
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