Get rid of underscore.c
Paul Koning
pkoning@equallogic.com
Mon Sep 23 08:02:00 GMT 2002
>>>>> "Nick" == Nick Clifton <nickc@redhat.com> writes:
Nick> Hi Guys, : Andrew Cagney wrote: : : How about GCC bundle in a
Nick> program called g++filt while binutils : bundle c++filt.
Nick> I like this idea. We keep the demangling code in one place -
Nick> libiberty - where it can be accessed by all the tools that want
Nick> to use it (g++, gdb, binutils, libstdc++), and each tool can
Nick> decide how it wants to interface to this code. G++ would have
Nick> its g++filt program, binutils would have c++filt, libstdc++
Nick> would do whatever it does with it and so on.
Nick> The only problem I see with this solution is user confusion.
Nick> If they install both gcc and binutils they will end up with two
Nick> demangler programs in their bin. Which one do they use ?
Nick> Provided that they both produce the same results it will not
Nick> matter which one they choose, but if the results differ things
Nick> could get really confusing.
User confusion, indeed.
I think this would be a truly evil "solution". As a gcc/binutils user
I would conclude that some bizarre political problem has caused an
obviously broken approach to be picked, rather than one of several
sensible right answers.
paul
More information about the Gcc-patches
mailing list