This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Please review the new C++ demangler patch
> From: Joe Buck <jbuck@synopsys.com>
>
> On Thu, Jun 26, 2003 at 02:57:33PM -0400, Kaveh R. Ghazi wrote:
> > > if you have a modern C++ compiler it already has <vector> and
> > > <string>.
> >
> > Not if you just built cc1plus in stage1, see:
> > http://gcc.gnu.org/ml/gcc/2003-06/msg02221.html
> >
> > Can we (re)write quick mini-string and mini-vector classes to get past
> > this?
>
> We could. But should we? Why not just build libstdc++ before the
> demangler?
It removes the need for having/building libstdc++ altogether.
I don't know how useful that is, if you don't have source for
libstdc++ then you probably don't have the source for cc1plus either.
So you need your own "modern" c++ compiler anyway.
Just a suggestion.
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu