On Thu, 16 Sep 1999, Chris Antos wrote:
> how about piping to more.com? eg, "make | more", etc.
>
> or use a tee utility. (there are several available on various ftp and web
> site file repositories).
>
> 4dos allows "make >& filename" to redirect both stdout and stderr to
> filename. (or ">&>" to redirect only stderr).
The problem is that gcc prints messages to stderr, but command.com can
only redirect stdout. You can either use a different shell (such as 4dos
or bash), or get a redirection program. There was a redir.exe included in
djgpp (http://www.delorie.com/djgpp/) that would let you do "redir -eo
make > filename" to capture both stdout and stderr.
One of the best archives of little utilities like stderr redirectors or
crlf converters is ftp://ftp.simtel.net/pub/simtelnet. (at least it was
back in my dos days)
-Ben