This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Get rid of underscore.c
Christian Jönsson <christian@j-son.org> writes:
> Are we really arguing because this is not supported by cvs or are we
> arguing which one of the projects c++filt belongs to more? The answer
> could very well be *both*, not *either*...
The issue is not really the files themselves. It's the fact that the
release cycles are not coordinated, so which c++filt people get
depends upon which release of binutils or gcc they install. If they
happen to install an older binutils after a newer gcc, they may get a
c++filt which does not work for the version of gcc they have.
One way to fix this would be to have c++filt support shared libraries
to do the actual demangling, and have gcc install an appropriate
shared library in an agreed upon place so that c++filt could use that
library. That would have the advantage that objdump, et. al., could
automatically demangle symbols from a newer version of gcc.
Ian