public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Making gcc read from the standard input
@ 2007-01-11  6:31 Tathagato Rai Dastidar
  2007-01-11  9:12 ` Paolo Bonzini
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tathagato Rai Dastidar @ 2007-01-11  6:31 UTC (permalink / raw)
  To: gcc-help, gcc

Hello,

Is there a way I can make GCC read a C or C++ code from the standard input 
instead of from a file?

In my application software, I am generating some C code on the fly, writing it 
to a file, then using GCC to compile it. Instead of that, I want to invoke GCC 
through a pipe, and write the C code directly into GCC, instead of writing it 
into a file and then calling GCC.

Is this possible?

Regards,
Tathagato Rai Dastidar
Prinicipal Software Engineer,
National Semiconductor Corp.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-01-11 17:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-11  6:31 Making gcc read from the standard input Tathagato Rai Dastidar
2007-01-11  9:12 ` Paolo Bonzini
2007-01-11 13:56 ` John Love-Jensen
2007-01-11 17:06 ` Mike Stump

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).