This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Get rid of underscore.c


On Fri, 20 Sep 2002 16:18:51 +0100, Richard Earnshaw <rearnsha@arm.com> wrote:

>> On Fri, 20 Sep 2002 08:00:08 -0700, "H. J. Lu" <hjl@lucon.org> wrote:
>> 
>> > How about this? Move cxxfilt.c to libiberty, but never compile it in
>> > libiberty. Buy default, binutils will compile cxxfilt in its binutils
>> > directory.
>> 
>> Why?  Why build c++filt in binutils?  Why?
>> 
>> The demanger should be bundled with the mangler, i.e. the compiler.
>
> Why should somebody using a.n.other compiler need to install gcc to get 
> the demangler?

Other compilers should have their own c++filt.  In my experience, they
usually do.  The support for other demangling styles in cp-demangle is
mostly useful for use in gdb.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]