www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/02/18/19:45:08

From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: how to get compiler diagnostics
Date: Tue, 18 Feb 2003 18:20:27 CST
Organization: Rice University, Houston TX
Lines: 8
Message-ID: <3e52cdcb.sandmann@clio.rice.edu>
References: <b2ugct$c9s$1 AT wildfire DOT prairienet DOT org>
NNTP-Posting-Host: clio.rice.edu
X-Trace: joe.rice.edu 1045614318 8905 128.42.105.3 (19 Feb 2003 00:25:18 GMT)
X-Complaints-To: abuse AT rice DOT edu
NNTP-Posting-Date: 19 Feb 2003 00:25:18 GMT
X-NewsEditor: ED-1.5.9
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> I need to invoke 'gcc' with an option to save its compiler diagnostics
> to a file as specified by an option (re-direct ">" not allowed). Does
> 'gcc' possess such an option?

"info util redir"

If by any chance you are using Win2K or Windows XP, just use the
syntax "gcc whatever.c 2> err.lis"

- Raw text -


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