This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: How to list all public symbols in a file/project?
- From: Sven Eschenberg <eschenb at cs dot uni-frankfurt dot de>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 18 Aug 2006 16:35:21 +0200
- Subject: Re: How to list all public symbols in a file/project?
- References: <44E5CDBA.201@dea.inpe.br>
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