delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/05/12/14:15:14

Date: Thu, 12 May 94 13:30:22 EDT
From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock)
To: wolfe!resrch!janr AT omnigate DOT clarkson DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: piping errors and warnings under DOS
Reply-To: babcock AT cfa DOT harvard DOT edu

> Can anyone out there tell me how to redirect my warning and error
> massages to a file under DOS.

See the discussion of the GO32 environment variable in README.DOC.  SET
GO32=2r1 redirects stderr to stdout, then you can use ordinary DOS
redirection to a file.  The only potential problem with this is that,
according to some complaints posted a few months back, doing this may cause
preprocessor errors to be fed to the next compilation stage rather than
displayed or directed to your error file.

- Raw text -


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