www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/24/03:27:48

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 <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Fausto Arinos de A. Barbuto" <barbuto AT ax DOT apc DOT org>
cc: djgpp AT delorie DOT com
Subject: Re: Having a problem compiling a program.
In-Reply-To: <a58u5a$5im8k$1@ID-76871.news.dfncis.de>
Message-ID: <Pine.SUN.3.91.1020224102205.27642E-100000@is>
MIME-Version: 1.0
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

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.

- Raw text -


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