This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
embedded c
Schuster, Joel (N-Compaq) writes:
> Just interested if anyone has tried creating a version of gcc and
> the linker that would be shared objects that would allow in-memory
> compilation and linking at runtime? I'm thinking of this in terms
> of using C/C++ as a embedded scripting language within an
> application where the 'script' would have access to all the
> resources that the main application would.
I did it for Java as an experiment. http://gcc.gnu.org/ml/java/2003-01/msg00022.html
> Any ideas along this line would be useful. Thanks.
Look at the compile server branch. That keeps gcc memory resident.
Andrew.