How to list all public symbols in a file/project?

Sven Eschenberg eschenb@cs.uni-frankfurt.de
Fri Aug 18 14:35:00 GMT 2006


Marcio Afonso Arimura Fialho wrote:
> How to get automatically a list of every public symbol (variables and 
> functions) defined in a C/C++ source file ?
>
> Regards,
> Marcio.
Aside from the fact, that this doesn't seem to be really gcc related, 
what exactly do you want to do? Why should it be the compilers job to 
create such a list?
One way that might work: Generate the object and extract the symbols 
afterwards ...

Regards

-Sven



More information about the Gcc-help mailing list