title: Is it possible to get GCC to read from a pipe?
body: <p>I'm looking for an option to <code>gcc</code> that will make it read a source file from the standard input, mainly so I could do something like this to generate an object file from a tool like <code>flex</code> that generates C code (<code>flex</code>'s <code>-t</code> option writes the generated C to the standard output):</p>
  
  <pre><code>flex -t lexer.l | gcc -o lexer.o -magic-option-here
  </code></pre>
  
  <p>because I don't really care about the generated C file.</p>
  
  <p>Does something like this exist, or do I have to use temporary files?</p>