www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/27/03:08:50

Date: Fri, 26 Apr 1996 23:54:47 -0700 (PDT)
From: Samuel Vincent <svincent AT cs DOT sonoma DOT edu>
To: Ruiter de M <mdruiter AT cs DOT vu DOT nl>
cc: djgpp AT delorie DOT com
Subject: Re: Error messages and warnings...
In-Reply-To: <DqGun6.4ow.0.-s@cs.vu.nl>
Message-ID: <Pine.SUN.3.90.960426235335.9006B-100000@zippy>
MIME-Version: 1.0

On Fri, 26 Apr 1996, Ruiter de M wrote:

> Thad Ward (tward AT wybbs DOT wynalda DOT com) wrote:
> 
> : you can try 4DOS. the more recent versions allow redirections a la
> : UNIX. 
> 
> : gcc -blah blah.c 2>errors.txt
> 
> : will redirect the errors to a file named errors.txt if you're using
> : 4DOS...
> 
> I am sure this won't work. Try 'gcc -blah blah.c >&> errors.txt' instead.


Actually..  in 4DOS, as he states, that should work...

But isn't there a util distributed with djgpp called "redir" that allows 
you to redirect stdout stdin and stderr to anything you like?

-Sam

- Raw text -


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