delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/22/19:35:45

Sender: nate AT cartsys DOT com
Message-ID: <3608333B.966CC05A@cartsys.com>
Date: Tue, 22 Sep 1998 16:31:07 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
MIME-Version: 1.0
To: dragun AT postmark DOT net
CC: djgpp AT delorie DOT com
Subject: Re: DJGPP compiler tags
References: <6u6tl5$a72$1 AT nnrp1 DOT dejanews DOT com>

dragun AT postmark DOT net wrote:
> 
> I heard that there is a compiler tag that tells the compiler to spit out the
> errors in a file. Please email me the compiler tag if you know it. Thanks.

You mean, redirect error messages to a file?  There's no compiler switch
to do that, but since they are printed to the stderr stream, you can use
the `redir' utility that comes with DJGPP and do something like:

redir -e err.log gcc ...

Read the Info docs on `redir' for more info.
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


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