This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Is there a way to generate a cross reference listing for a c/c++ program using gcc?
- From: "Paul Albrecht" <palbrecht at qwest dot net>
- To: "E. Weddington" <ericw at evcohs dot com>
- Cc: gcc at gcc dot gnu dot org, gcc-help at gcc dot gnu dot org
- Date: Fri, 13 May 2005 14:49:38 -0500
- Subject: Re: Is there a way to generate a cross reference listing for a c/c++ program using gcc?
- References: <001501c557e7$114c4480$d5c60443@oemcomputer> <4284FA88.6000007@evcohs.com>
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.