From: bodfish AT austen DOT notis DOT com (John Bodfish) Subject: Diags when compiling (redir.com) To: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Tue, 15 Nov 94 11:55:19 CST D Taupin asked: > When gcc makes diags, they are written on the screen. But the claassical > DOS piping (i.e. saying gcc -c myfile.c >myfile.log) does not work. > > In order to show my problems to others, how can I make the diags > go to a file, not [only] to screen ? > > Thanks > dt > I use redir.com by Floyd Miller. I got it from the SimTel archive in, I believe, /pub/sysutils/redir.zip. It's a 10k *.com file, which I've used with DOS 6.0 & 6.2. Here's an example of my use: c:\>redir gcc myfile.c >myfile.msg I've also used it when piping to "more". I'm using djgpp 1.12, but I did the same thing with 1.11. John Bodfish bodfish AT notis DOT com