Piping Compiler Output

Scott Barnett scott.barnett@jcu.edu.au
Sat Aug 31 19:08:00 GMT 2002


Hello,

I'd like to write the output of the gcc compiler to a file (logging). I've
tried using the > operator, but that doesn't seem to work, and I also
download the source to cat, and modified it so it logged to file instead of
printing text, and that won't work either (although it does work if I do an
ls or any other simple command).

Any ideas?

Regards, Scott.



More information about the Gcc mailing list