Mail Archives: djgpp/1998/03/27/23:05:36
From: | "John M. Aldrich" <fighteer AT cs DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: newbie: error messages
|
Date: | Fri, 27 Mar 1998 18:57:19 -0500
|
Organization: | Two pounds of chaos and a pinch of salt.
|
Lines: | 33
|
Message-ID: | <351C3CDF.407@cs.com>
|
References: | <6fh888$4da$1 AT juliana DOT sprynet DOT com>
|
NNTP-Posting-Host: | ppp246.cs.com
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Kyle wrote:
>
> please enlighten, when compiling in the dos mode if the errors are
> excessive the first errors are not view able as they are off the
> screen. can the errors that are shown during the compile process be
> redirected to a txt file to view later. any help would be appreciated.
> email caught1 AT sprynet DOT com
This is a FAQ - see chapter 6.10 of the DJGPP Frequently Asked Questions
list (v2/faq210b.zip or online at http://www.delorie.com/djgpp/v2faq/).
Short answer: use the 'redir' utility that comes with DJGPP. Sample
syntax follows:
redir -o err -eo gcc <rest of command line>
Those options tell 'redir' to run gcc and save standard output and
standard error into a file named 'err', which you can then examine.
If you want to be able to see the messages as they are generated and
still have them saved to a file, you should try using one of the IDEs
available for DJGPP, such as RHIDE or Emacs. Both can save the output
of compilation and jump to the location of specific errors and warnings.
hth!
--
---------------------------------------------------------------------
| John M. Aldrich | "A 'critic' is a man who creates |
| aka Fighteer I | nothing and thereby feels qualified |
| mailto:fighteer AT cs DOT com | to judge the work of creative men." |
| http://www.cs.com/fighteer | - Lazarus Long |
---------------------------------------------------------------------
- Raw text -