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++
- From: "Zack Weinberg" <zack at codesourcery dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: Nathanael Nerode <neroden at twcny dot rr dot com>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 07 Jul 2003 23:01:41 -0700
- Subject: Re: PATCH: Support the new demangler written in C++
- References: <20030708035313.GA542@doctormoo><orfzlhiq71.fsf@free.redhat.lsd.ic.unicamp.br>
Alexandre Oliva <aoliva@redhat.com> writes:
>
> But this only solves the problem for target libraries. We still have
> a new requirement for build (although I don't see why we'd be building
> a C++ demangler for the build environment) and the host (where
> binutils and gdb need the demangler).
With a slightly more flexible build process, we could start off with a
dummy demangler that doesn't do anything, then go back and relink
binutils and gdb after we have the C++ compiler available. (If
build!=host you would have to have a C++ compiler in the first place.)
... Remind me why the C demangler is considered unfixable?
zw