This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RTL/tree (from gcc) and Scheme
On 10-Aug-2003, Valery A.Khamenya <khamenya@mail.ru> wrote:
> Trees and RTL are used for *compile-time* only now.
> And here came my question: is it really *impossible* to change thing
> and use RTL/tree in run-time?
No... but even if you link the GCC back-end into your runtime system,
and thereby avoid the need to write out a source language file,
the code generated by the GCC back-end is assembly language code,
which needs to be assembled, and which will contain references to
libc, libgcc, etc. that need to be resolved by the linker and/or loader.
Changing that would be a lot of work, I think.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.