This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB 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: FYI: A new C++ demangler


On Tue, Jul 15, 2003 at 04:49:07PM -0300, Alexandre Oliva wrote:
> On Jul 15, 2003, "H. J. Lu" <hjl@lucon.org> wrote:
> 
> > FWIW, my C++ demangler patch needs $(CXX) to compile, only $(CC) to
> > link.
> 
> This may be the case with the current GCC, but other C++ compilers,
> and future versions of GCC (especially after we introduce support for
> `export'ed templates) may very well introduce dependencies on their
> run-time libraries, requiring linking with them and possibly even
> using their C++ compiler driver to link.

The demangler configure tests if $(CC) can be used for linking. If not,
the new C++ demangler won't be used. The new C++ demangler is compiled
with -fno-rtti -fno-exceptions for libiberty. I hope when the new
features are added to gcc, there is an option to disable it if needed.


H.J.


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