Message-ID: <32B0368A.2B0B@pobox.oleane.com> Date: Thu, 12 Dec 1996 17:44:58 +0100 From: Francois Charton 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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