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

"victor (v.) mulyk" <vmulyk@bnr.ca>
Fri, 21 Jul 1995 19:58:46 GMT

          From comp.compilers

Related articles
GCC as front end for C++ browser? mikey@mcs.com (1995-07-11)
Re: GCC as front end for C++ browser? mnp@compass-da.com (Mitchell N. Perilstein) (1995-07-16)
Re: GCC as front end for C++ browser? sanjay@clef.lcs.mit.edu (1995-07-16)
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: "victor (v.) mulyk" <vmulyk@bnr.ca>
Keywords: C++, tools, GCC
Organization: Bell Northern Research
References: 95-07-103
Date: Fri, 21 Jul 1995 19:58:46 GMT

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?


"Mitchell N. Perilstein" <mnp@compass-da.com> writes:
> GCC (2.6.?) seems to have an undocumented switch that dumps detailed
> information about functions, at least; maybe it could be the basis for a
> tool. Read source file gcc2*/c-aux-info.c for details.
...
> $ gcc -aux-info foo a.c


Just my opinion, but notice that you compiled a .c file here not
a .cc file. If you look at gcc/Makefile, you'll notice that cc1.o is
dependent on c-aux-info.o but not cc1plus.o. Therefore, I don't think
this will get you the info you need for a C++ browser as requested.
I tried the -aux-info option on some C++ source and it failed to compile
with Cygnus' gcc2.6-95q2 release.
--


Cheers,
Vic


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Victor Mulyk
  Bell-Northern Research Ltd
  P.O. Box 3511, Station C Email: vmulyk@bnr.ca
  Ottawa, Ontario, Canada
  K1Y 4H7
--


Post a followup to this message

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