X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Date: Sun, 24 Feb 2002 10:22:23 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: "Fausto Arinos de A. Barbuto" cc: djgpp AT delorie DOT com Subject: Re: Having a problem compiling a program. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sat, 23 Feb 2002, Fausto Arinos de A. Barbuto wrote: > > Try this: c:\djgpp>gcc c:\djgpp\tmp\try.cpp -o try.exe >> error.txt > > I tried, and neither ">>" nor ">" did work. As expected: GCC prints its error messages to the standard error stream, while > and >> only redirect the standard output. > There must be something different. There is: see section 6.15 of the DJGPP FAQ list, it lists the possible solutions to this problem.