This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: question about gcc
- From: Robert Dewar <dewar at adacore dot com>
- To: Paul Albrecht <palbrecht at qwest dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 17 Nov 2005 18:20:38 -0500
- Subject: Re: question about gcc
- References: <000d01c5ebcb$44e56560$b0950443@oemcomputer>
Paul Albrecht wrote:
Is there some reason gcc hasn't been or can't be enhanced to provide output for a cross-referencing
programs?
Paul Albrecht
No reason why it can't be, and the reason it hasn't is that
no one has done it. Actually strictly you don't mean gcc
here, you are referring to particular front ends, since
the notion of referencing is somewhat language dependent.
So probably you are thinking of C and/or C++. Note that
GNAT, the Ada front end, does indeed output full
information for xref purposes, in the form of ali
files (it would indeed be nice if the C++ compiler
would generate something similar!)