A89: output from gcc


[Prev][Next][Index][Thread]

A89: output from gcc




 > How do you c programmers deal with the output from gcc.  If there are enough 
 > errors the output will scroll off the screen.  I've tried using pipes but 
 > this does not seem to work.

This is probably dependent on the system you use.
Under any unix variant, gcc ... 2> file.err would work, of if you want 
to see it on the screen:

gcc ... 2>&1 | more

Error messages are sent to stderr and not stdout.

Regards,

Zoltan


References: