www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/12/11:49:33

From: kagel AT quasar DOT bloomberg DOT com
Date: Thu, 12 Dec 1996 11:30:42 -0500
Message-Id: <9612121630.AA08143@quasar.bloomberg.com >
To: camorgan AT amoco DOT com
Cc: djgpp AT delorie DOT com
In-Reply-To: <199612121446.AA18731@interlock.amoco.com> (camorgan@amoco.com)
Subject: Re: Simple question...
Reply-To: kagel AT dg1 DOT bloomberg DOT com

   Errors-To: postmaster AT ns1
   From: camorgan AT amoco DOT com
   X-Openmail-Hops: 1
   Date: Thu, 12 Dec 96 08:45:35 -0600
   Mime-Version: 1.0
   Content-Transfer-Encoding: 7bit
   Content-Type: text/plain; charset=US-ASCII; name="cc:Mail"
   Content-Length: 916

   I am using DJGPP for DOS (under DOS 6.21) and like it very much.  
   However, being the imperfect programmer that I am, I rarely get clean 
   compiles the first time and it is not uncommon for me to get more than 
   one screen's worth of compiler messages.  Thus, I have a need to put the 
   diagnostic messages in a DOS file so I can scroll back and forth and 
   peruse them at my leisure.

   I have tried every way I know to redirect the compiler diagnostic 
   messages to a file; e.g.,  

     gcc test.c -o test.exe >test.lst,
     gcc test.c -o test.exe 2>test.lst,
   etc.,

Use the 'redir' utility supplied with DJGPP.  See the FAQ (used to be section
6.9)

   but all my redirection efforts seem to be ignored; the output still 
   comes back to the screen. 

   I looked for a fair amount of time at the DJGPP documention and couldn't 
   see any compiler options, etc., that might address how to do this.  

   Any assistance would be greatly appreciated.


-- 
Art S. Kagel, kagel AT quasar DOT bloomberg DOT com

A proverb is no proverb to you 'till life has illustrated it.  -- John Keats

- Raw text -


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