This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: Converting the gcc backend to a library?


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


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