delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/01/15:40:40

Message-ID: <3A007F18.CB92C131@hotmail.com>
Date: Wed, 01 Nov 2000 21:37:44 +0100
From: Javier Bardal Prieto <javiputa AT hotmail DOT com>
X-Mailer: Mozilla 4.73 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: How do I redirect GCC's warning messages to a file?
Reply-To: djgpp AT delorie DOT com

>I've looked and looked and just cannot find the answer to this one.
>
>Under Windows Me in a DOS box, how do I redirect DJGPP GCC's
>warning/error messages to a file.

use redir:

redir -e file.txt gcc foo.c

you will get the standard error output in file.txt


- Raw text -


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