This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: demengler in libstdc++ is changed
- From: Chris Lattner <sabre at nondot dot org>
- To: DJ Delorie <dj at redhat dot com>
- Cc: phil at codesourcery dot com, <gdr at integrable-solutions dot net>,<gcc at gcc dot gnu dot org>
- Date: Fri, 14 Nov 2003 20:27:19 -0600 (CST)
- Subject: Re: demengler in libstdc++ is changed
On Fri, 14 Nov 2003, DJ Delorie wrote:
> > And for 3.4, libstdc++ doesn't need to be built to make <vector> available.
> > The configure step makes a complete C++ header tree available in one
> > directory.
>
> The host libiberty is built long before libstdc++-v3 (or any target
> library) can even be configured.
The point is that the demangler would be compiled to _C_ code, which can
itself be compiled as "just another source file" in libiberty. This
C++ -> C translation does not need to happen at GCC compile or install
time, just like the 'configure' script is not generated when an end user
does a compile.
-Chris
--
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/