embedded c

Andrew Haley aph@redhat.com
Fri Oct 24 18:30:00 GMT 2003


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.



More information about the Gcc mailing list