www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/16/21:49:10

Date: Fri, 17 Mar 2000 07:31:52 +0500
Message-Id: <200003170231.HAA00924@midpec.com>
From: Prashant TR <prashant_tr AT yahoo DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <200003161734.SAA17873@statistik.cinetic.de>
(alex DOT gevatter AT web DOT de)
Subject: Re: Write GCC-Output into File
References: <200003161734 DOT SAA17873 AT statistik DOT cinetic DOT de>
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

"Alex Gevatter" <alex DOT gevatter AT web DOT de> writes:

> How can I force the GCC-Compiler to put the output-messages (e.g.
> warnings, errors) into a file instead of the screen?

Use redir:

redir -e results.txt gcc myfile.c

"info redir" and the FAQ should give you more details.

- Raw text -


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