This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Support the new demangler written in C++
On Mon, Jul 07, 2003 at 10:18:02PM -0400, DJ Delorie wrote:
>
> > That said, I'm coming to the conclusion that we should probably bite
> > the bullet and move demangler completely out of libiberty, or build
> > a libiberty-old-demangler pass first, that creates a different
> > library, and the real libiberty with the demangler later, when a C++
> > compiler is ready. This won't avoid the need for changing Makefiles
> > to reference the other libiberty, though, but it's needed for
> > parallel-make safety.
>
> I like this idea.
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.
H.J.