delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/28/14:03:35

From: jmarco AT cnct DOT com (John Panettiere)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Redirecting gcc output?
Date: Sat, 28 Sep 1996 05:30:02 GMT
Organization: The Internet Conection
Lines: 29
Message-ID: <52icts$2ej@news2.cnct.com>
References: <52cf3v$9qr AT news2 DOT cnct DOT com> <324ABB7E DOT 41C6 AT CS DOT ColoState DOT edu>
NNTP-Posting-Host: nj-dialup227.cnct.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Thank you all for your help.  I've been reading the faq, so hopefully
I won't ask any more questions that have already been "frequently
asked"!

John Panettiere

Yamaha / XYZZ <scriven AT CS DOT ColoState DOT edu> wrote:

>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 <whatever>


>-- Yamaha / XYZZ
>mailto:scriven AT CS DOT ColoState DOT edu          
>mailto:scriven AT VIS DOT ColoState DOT edu
>http://www.vis.colostate.edu/~scriven/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019