This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Converting the gcc backend to a library?
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Subject: Re: Converting the gcc backend to a library?
- From: Jamie Lokier <jamie dot lokier at cern dot ch>
- Date: Mon, 10 Jan 2000 13:59:25 +0100
- Cc: per at bothner dot com, gcc at gcc dot gnu dot org
- References: <10001101132.AA13438@vlsi1.ultra.nyu.edu>
Richard Kenner wrote:
> So it would seem the only issue is whether the bulk of GCC could be linked as
> a shared library. But that seems marginal on both sides: most machines are
> single-user nowadays and memory is cheap, so the benefit of having it as
> a shared library is trivial (the number of times the use count of such an
> image would be greater than one is negligable)
Not so. Consider a dynamic compilation environment such as Java, Guile,
Perl or even Emacs Lisp if such things were that easy. Every
interpreter-come-compiler uses an instance of the shared library.
-- Jamie