From: Yamaha / XYZZ Newsgroups: comp.os.msdos.djgpp Subject: Re: Redirecting gcc output? Date: Thu, 26 Sep 1996 11:21:02 -0600 Organization: XYZZ Software Co. Lines: 19 Message-ID: <324ABB7E.41C6@CS.ColoState.edu> References: <52cf3v$9qr AT news2 DOT cnct DOT com> NNTP-Posting-Host: rodin.vis.colostate.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp John Panettiere wrote: > I generally like to redirect output to a text file when I compile. > The standard '>' redirect doesn't seem to work when I use gcc. How > can I redirect the list of warnings/errors produced by gcc to a text > file? Try the "redir" utility that comes with DJGPP. It'll redirect stderr, much like the ">" redirects stdout. I don't remember where the outfile parameter goes, but it's something like: redir -e error.log gcc -- Yamaha / XYZZ mailto:scriven AT CS DOT ColoState DOT edu mailto:scriven AT VIS DOT ColoState DOT edu http://www.vis.colostate.edu/~scriven/