Mail Archives: djgpp/1994/09/30/18:31:49
> Is there a way to reroute the compile error messages I receive on
> my video terminal to a save file instead?
The errors come out on stderr. One way of redirecting them is
SET GO32=2r1
to redirect them to stdout, then use ordinary redirection. Other options
include using 4dos as your command processor, a separate stderr redirection
program or a make processor which can redirect stdout. It has been claimed
that redirecting stderr may cause errors from the preprocessor stage to be
fed to the compiler. Everytime somebody asks about redirecting error
messages, I think that I should check whether this is really true, but
somehow I never get around to testing it.
- Raw text -