KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm looking for an option to gcc 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 flex that generates C code ( flex 's -t option writes the generated C to the standard output): flex -t lexer.l | gcc -o lexer.o -magic-option-here because I don't really care about the generated C file. Does something like this exist, or do I have to use temporary files?
Tags (comma-separated)
Save Edits
Cancel