delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/14/18:02:13

From: pneyz <pneyz AT bethany DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: saving error messages
Date: Sat, 14 Feb 1998 14:39:31 -0800
Organization: Smoof Team
Lines: 21
Message-ID: <34E61D23.D91C8518@bethany.edu>
References: <ram-1402981631400001 AT news DOT tiac DOT net>
NNTP-Posting-Host: scz-ca9-12.ix.netcom.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> i don't make any mistakes when i write programs (!) so i
> never had to actually read any compiler error messages...

Ahh, I know the feeling of perfection...

> i tried re-directing the error output of gcc, but it must be
> going around stdout or whatever.

Yep, stderr (standard error).

> can the error output of gcc be somehow directed to a file
> for calm perusal after the dust settles?

Use "redir -e error.log foobar" where foobar is the program you want the
error codes from (gcc in this case).

-- 
/*
   pneyz / Smoof Team              pneyz AT bethany DOT edu
   "Fine Malt Coding"              http://ns.bethany.edu/pneyz/
*/

- Raw text -


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