This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is there a way to generate a cross reference listing for a c/c++program using gcc?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]