an xref Suggestion

William Gacquer wgacquer at ubisoft.fr
Tue Feb 1 09:36:08 GMT 2000


well, I use ctags oftenly too but exuberant ctags has some major defaults.
It is not able to deal with define statements and that not a symbol browser
but it is more like a definition finder.
I cannot say if "gcc -fxref" has any default. 

Help me guys from the gcc mailing list! Could you tell us if the fxref
output format is documented anywhere? Could you also tell us if "gcc -fxref"
is too be used or if we should forget about it? 

	William

> -----Original Message-----
> From: Bernd Gehrmann [mailto:bernd at physik.hu-berlin.de]
> Sent: Monday, January 31, 2000 9:27 PM
> To: kdevelop at barney.cs.uni-potsdam.de
> Subject: Re: an xref Suggestion
> 
> 
> On Mon, 31 Jan 2000 William Gacquer wrote:
> >Hello,
> >	Kdevelop gets nicer everyday! That's great. But It is seriously
> >missing a symbol/cross-references browser. I have had a look 
> at a few tools
> >that can do that but they are all missing something. I have 
> just found a
> >very good one : gcc.
> >	Yes, gcc is indeed able to to export a table of 
> cross-references and
> >symbols using the -fxref option. (For curious people who 
> will try this
> >feature now, please know that by typing "gcc -c -fxref 
> foo.c", it will
> >create a hidden ".foo.c.gxref" database. Hard to read but 
> very complete!
> 
> Last time I heard about this, someone that the code behind this option
> is not maintained anymore, and it's only documented in the 
> source code.
> Does it still work correctly, escpecially wrt namespaces, templates,
> nested classes and so on?
> 
> Bernd.
> 




More information about the KDevelop mailing list