From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15315 invoked by alias); 15 Jul 2003 19:55:25 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 15261 invoked from network); 15 Jul 2003 19:55:24 -0000 Received: from unknown (HELO rwcrmhc11.comcast.net) (204.127.198.35) by sources.redhat.com with SMTP; 15 Jul 2003 19:55:24 -0000 Received: from lucon.org ([12.234.88.5]) by comcast.net (rwcrmhc11) with ESMTP id <200307151955230130012tdre>; Tue, 15 Jul 2003 19:55:23 +0000 Received: by lucon.org (Postfix, from userid 1000) id 111502C4EB; Tue, 15 Jul 2003 19:55:22 +0000 (UTC) Date: Tue, 15 Jul 2003 19:55:00 -0000 From: "H. J. Lu" To: Alexandre Oliva Cc: Gabriel Dos Reis , Andrew Cagney , Nathanael Nerode , fche@redhat.com, gdb@sources.redhat.com, binutils@sources.redhat.com Subject: Re: FYI: A new C++ demangler Message-ID: <20030715195522.GA21667@lucon.org> References: <20030712180228.GA912@doctormoo> <3F142933.1060902@redhat.com> <20030715191642.GA21025@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-SW-Source: 2003-07/txt/msg00174.txt.bz2 On Tue, Jul 15, 2003 at 04:49:07PM -0300, Alexandre Oliva wrote: > On Jul 15, 2003, "H. J. Lu" 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.