This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: can gcc compile from memory buffer?
- From: Andrew Haley <aph-gcc at littlepinkcloud dot COM>
- To: "jonatan perry" <jonatan44 at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 29 Aug 2007 10:48:15 +0100
- Subject: Re: can gcc compile from memory buffer?
- References: <d592e5da0708281244r12794041k1d22b4e9a65f9c91@mail.gmail.com>
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.