www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/12/12:02:18

Message-ID: <32B0368A.2B0B@pobox.oleane.com>
Date: Thu, 12 Dec 1996 17:44:58 +0100
From: Francois Charton <deef AT pobox DOT oleane DOT com>
Organization: CCMSA
MIME-Version: 1.0
To: camorgan AT amoco DOT com
CC: djgpp AT delorie DOT com
Subject: Re: Simple question...
References: <199612121446 DOT AA18731 AT interlock DOT amoco DOT com>

camorgan AT amoco DOT com wrote:
> 
> 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.,
> 
> but all my redirection efforts seem to be ignored; the output still
> comes back to the screen.
> 

DOS is not smart enough to perform this on DJGPP programs...

This is explained in section 6.10 of the FAQ (faq202b.zip from where you 
got DJGPP). The simplest way is to use the REDIR program, which comes 
with DJGPP (it is in DJDEV201). 

Francois


- Raw text -


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