www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/09/30/18:31:49

Date: Fri, 30 Sep 94 13:18:46 EDT
From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock)
To: 1CMC3466 AT ibm DOT MtSAC DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Rerouting stderr
Reply-To: babcock AT cfa DOT harvard DOT edu

>        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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019