Date: Thu, 24 Jun 93 12:04:16 CDT From: "Jeremy Mathers" To: peprbv AT cfa0 DOT harvard DOT edu Subject: Re: Redirecting gcc output. Cc: djgpp AT sun DOT soe DOT clarkson DOT edu >> A standard redirect (">") doesnt work (because gcc outputs >> to stderr, perhaps?). Can I do this in a DOS environ? >Someone pointed out that you can use an environment variable to tell gcc to >send stderr to stdout so that redirection works. Instead, I use a small >utility to do the same thing. There are several in the msdos.sysutl directory >at Simtel20 mirrors, including REDIR.ZIP. Usage is simply > redir progname parameters >file The best solution is to get an MSDOS port of Unix Script. I have been using the one in SCRIPT11.ZIP (available from Simtel, et al) for many years now.