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: PATCH: Support the new demangler written in C++


HJL said:
> Whatever we do, please don't require changes for other packages
> which happen to use demangler in the installed libiberty.a. The open
> source packages don't have a very good reputation of a backward
> compatible API, let alone ABI. I hope libiberty.a is not one of
> them.
DJ said:
>If you're worried about backwards compatibility, fix the C demangler
>that's in libiberty.  

What he said.

If you refuse to make the new C++ demangler independent of libstdc++ 
(meaning anything in libstdc++ which needs to be built; I believe the 
relevant header files do need to be built and cannot be included 
straight from the CVS source or tarball), then you have to bite the 
bullet and add dependencies on libstdc++ for everyone using it.  Which means
the demangler cannot be part of libiberty.

If you want the demangler to be in libiberty, it must be written in C, 
or C++ without any library.

-- 
Nathanael Nerode  <neroden at gcc.gnu.org>
http://home.twcny.rr.com/nerode/neroden/fdl.html


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