Mail Archives: djgpp/1992/06/22/13:11:21
> Is there a way to redirect the error and warning mesgs into a file ?
> Apparently gcc sends it to stderr, which DOS isn't able to redirect.
> Or ist it ?
Others have pointed out that you can use the GO32 environment variable
to redirect stderr. This is needed because COMMAND.COM does not know
how to do the redirect.
Other shells for DOS are smarter than COMMAND.COM, and can redirect
stderr for you. I use MS_SH200 from SIMTEL20. It's similar to the
UNIX ksh, and it allows you to redirect stderr like you would on UNIX.
I believe the popular 4DOS replacement for COMMAND.COM will also allow
you to redirect stderr.
--
Eric Backus
ericb%hplsla AT hplabs DOT hp DOT com
(206) 335-2495
- Raw text -