www.delorie.com/archives/browse.cgi | search |
Date: | Thu, 24 Jun 93 10:06:34 EDT |
From: | peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock) |
To: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Subject: | Redirecting gcc output. |
> 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |