Date: Fri, 26 Apr 1996 23:54:47 -0700 (PDT) From: Samuel Vincent To: Ruiter de M cc: djgpp AT delorie DOT com Subject: Re: Error messages and warnings... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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