This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: can gcc compile from memory buffer?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]