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

From: ram AT tiac DOT net (robert a. moeser)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: saving error messages
Date: Sat, 14 Feb 1998 17:17:36 -0500
Organization: disorganized
Lines: 23
Message-ID: <ram-1402981717360001@news.tiac.net>
References: <ram-1402981631400001 AT news DOT tiac DOT net>
NNTP-Posting-Host: ram.tiac.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <ram-1402981631400001 AT news DOT tiac DOT net>, ram AT tiac DOT net (robert a.
moeser) wrote:

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

yeah, right. you idiot! ever hear of an FAQ list?? i quote here for you:

...you can use the REDIR program which comes with DJGPP. It also
redirects standard output and/or standard error to a file, but you
don't get a chance to look at the output while the program runs.
Here's how to run GCC with REDIR:

redir -o gcc.log -eo gcc -v ...

(put the rest of the GCC command line instead of the dots). The
messages printed by GCC will be written to the file gcc.log. 

good luck!

-- rob

- Raw text -


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