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: Mikael Djurfeldt <djurfeldt at nada dot kth dot se>
- Subject: Re: Converting the gcc backend to a library?
- From: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Date: 09 Jan 2000 17:00:33 -0200
- Cc: gcc at gcc dot gnu dot org
- References: <E122InR-0002L9-00@mdj.nada.kth.se>
On Dec 26, 1999, Mikael Djurfeldt <mdj@mdj.nada.kth.se> wrote:
> Is there any work going on to convert the gcc backend to a library?
Only in the sense that it has been proposed before, ``blessed'' by the
maintainers. It's been in my personal wishlist for quite a long time,
and I intend to start working on it in some no-so-distant future.
> How difficult would this be?
If it is just a matter of packing the appropriate objects into a
library, not much. It shouldn't be too hard to figure out which files
in the gcc directory are part of the back-end and which are part of
the C front-end.
However, making this library useful after installation may be a
completely different issue, since we'd have to figure out which
headers to install to make the library useful after the build tree is
gone, for example.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them