Subject: Re: Catching g++ error output
From: [email-masked] (Fergus Henderson)

18 Apr 1997 04:22:05 -0700
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Content-Type: text
Original-To: [email-masked] (James Paul Morgan)
Original-Cc: [email-masked] (Cygnus GNU-win32 mailing list)
In-Reply-To: <[email-masked]> from "James Paul Morgan" at Apr 18, 97 01:11:07 am
X-Mailer: ELM [version 2.4 PL24]
Original-Sender: [email-masked]

James Paul Morgan, you wrote:
> 
> Is there any way to capture the error output from g++ when it fails on a 
> compile?

In bash:

	gcc ... >& error-file

or

	gcc ... 2>&1 | tee error-file

-- 
Fergus Henderson <[email-masked]>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger [email-masked]         |     -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".