www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/06/24/19:09:41

From: sandmann AT clio DOT rice DOT edu (Charles W. Sandmann)
Subject: 2R1 and cpp
To: djgpp AT sun DOT soe DOT clarkson DOT edu (djgpp)
Date: Thu, 24 Jun 1993 17:16:39 -0600 (CDT)

> Date: Thu, 24 Jun 1993 15:18:13 -0600
> From: jweiss AT silver DOT sdsmt DOT edu (John M. Weiss)
> To: djgpp AT sun DOT soe DOT clarkson DOT edu
> 
> I have followed the discussion of redirecting stderr with some interest.
> In order to compile from within my editor, it would be useful to redirect
> the GCC error messages to a file. I have tried to do this using the "2R1"
> feature of the GO32 environmental variable. For example,
> 
> set GO32=2r1 driver c:/djgpp/drivers/tr8900.grn gw 1024 gh 768 nc 256
> 
> Unfortunately, it does not always work on my system! Warning messages appear
> to get written into a temporary file (rather than to the stdout), which
> causes compilation to cease. 

Since 2r1 prevents GCC from working in some cases (as you have noticed) I 
believe the only general solution is one of the script utilites mentioned.
This should be a FAQ item...

- Raw text -


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