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?
> Even if this is the case. I've been advocating creating a library out
> of the back end not for memory or disk-space savings, but to ease the
> creation of dynamic compilation environments. I know well that GCC is
> not the only piece of software that must be changed to allow this: we
> also need a dynamic assembler, that, instead of reading from a file
> and generating assembly to a file, would assemble into memory.
I think if such a technology ever succeeds, you'd have the back-end
directly produce machine code, instead of going through assembly
language. Of course, then you lose all the existing back-ends...
Regards,
Martin