How to make GCC output to stdout?

Viewed 10978

GCC is normally instructed to output to a file via the -o switch. If this isn't provided it seems to decide on an appropriate name and output to that. How do I make GCC write its generated output to stdout?

3 Answers
Related