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

Paul Albrecht palbrecht@qwest.net
Fri May 13 21:40:00 GMT 2005


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.



More information about the Gcc mailing list