Re: GCC as front end for C++ browser?

Mike Stump <mrs@cygnus.com>
Thu, 27 Jul 1995 18:41:34 GMT

          From comp.compilers

Related articles
[3 earlier articles]
Re: GCC as front end for C++ browser? jan@janhh.shnet.org (1995-07-17)
Re: GCC as front end for C++ browser? sc@iaxp01.inf.uni-jena.de (Sebastian Schmidt) (1995-07-18)
Re: GCC as front end for C++ browser? vmulyk@bnr.ca (victor (v.) mulyk) (1995-07-21)
Re: GCC as front end for C++ browser? vmulyk@bnr.ca (victor (v.) mulyk) (1995-07-21)
Re: GCC as front end for C++ browser? rcd@dooley.cs.brown.edu (1995-07-23)
Re: GCC as front end for C++ browser? bill@amber.ssd.hcsc.com (1995-07-24)
Re: GCC as front end for C++ browser? mrs@cygnus.com (Mike Stump) (1995-07-27)
Re: GCC as front end for C++ browser? hstrelow@ing.puc.cl (strelow fiedler hans christian erich) (1995-07-31)
| List of all articles for this month |

Newsgroups: comp.compilers
From: Mike Stump <mrs@cygnus.com>
Keywords: C++, tools, GCC
Organization: Cygnus Support
References: 95-07-103 95-07-143
Date: Thu, 27 Jul 1995 18:41:34 GMT

victor (v.) mulyk <vmulyk@bnr.ca> wrote:
>Mike Young <mikey@mcs.com> wrote:
>: Does this sound viable as a quick, evenings-only project? Are there other
>: tools that already do a good job of this? Is gcc's front end a suitable
>: starting point? How hard is it to learn and use? Where do I find more
>: information about gcc internals? Are there better, simpler ways to
>: accomplish this same end?


You can use -fxref to generate tons of interesting information that a
browser could use. For a source file named t.cc, look in .t.cc.gxref.
It contains information about scopes, declarations, function calls
sites and other stuff. See the source file xref.c for some more
details. No, this isn't speced out in all it's gory detail, but it is
fairly stable, fairly reliable, and has been around for a long time.
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.