delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/12/21:19:18

Date: Wed, 13 Sep 2000 06:55:36 +0530
Message-Id: <200009130125.GAA01090@midpec.com>
From: Prashant TR <tr AT midpec DOT com>
To: lark047 AT my-deja DOT com
CC: djgpp AT delorie DOT com
In-reply-to: <8pmgen$s8u$1@nnrp1.deja.com> (message from Andrew Clark on Wed,
13 Sep 2000 00:07:01 GMT)
Subject: Re: messages
References: <8pmgen$s8u$1 AT nnrp1 DOT deja DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

| From: Andrew Clark <lark047 AT my-deja DOT com>
| Date: Wed, 13 Sep 2000 00:07:01 GMT
| DJ-Gateway: from newsgroup comp.os.msdos.djgpp
| 
| is there any way to capture the result of compilation to a file? i want
| to store the results, so i'm looking for something like
| gcc foo.c > error.txt, but i tried that and it didn't work. any
| suggestions?

You could use the "redir" command. I *think* what you want is this...

redir -e errors.txt gcc foo.c

-- 
Prashant TR <tr AT midpec DOT com>
Web: http://www.midpec.com/

- Raw text -


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