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: "E. Weddington" <ericw at evcohs dot com>
- To: Paul Albrecht <palbrecht at qwest dot net>
- Cc: gcc at gcc dot gnu dot org, gcc-help at gcc dot gnu dot org
- Date: Fri, 13 May 2005 13:05:44 -0600
- Subject: Re: Is there a way to generate a cross reference listing for a c/c++program using gcc?
- References: <001501c557e7$114c4480$d5c60443@oemcomputer>
Paul Albrecht wrote:
Is there a way to generate a cross reference listing for a c/c++ program
using gcc?
-Wl,-Map=mapfile.map,--cref
Docs for -Wl option:
<http://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/Link-Options.html#Link-Options>
Docs for linker options (-Map, --cref):
<http://sourceware.org/binutils/docs-2.16/ld/Options.html#Options>
Questions like this are more topical for the gcc-help mailing list:
<http://gcc.gnu.org/lists.html>
Eric