can gcc compile from memory buffer?

Andrew Haley aph-gcc@littlepinkcloud.COM
Wed Aug 29 09:48:00 GMT 2007


jonatan perry writes:
 > Hello all :)
 > can I give to gcc in some way buffer (C code) from memory and let him
 > compile it?
 > I do *NOT* want to create any file for the action.

Not in any way I an think of, but it should be a 10 minute hack to
make it happen.  However, without mapping the memory buffer to a file,
how would you pass it to gcc?

Andrew.



More information about the Gcc-help mailing list