Only the text outputs knew `-' as stdout; compiling handed it to cc as a file name, and left a binary called `-' behind.