This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Catching g++ error output
- To: jpmorgan at unm dot edu (James Paul Morgan)
- Subject: Re: Catching g++ error output
- From: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>
- Date: Fri, 18 Apr 1997 20:52:57 +1000 (EST)
- Cc: gnu-win32 at cygnus dot com (Cygnus GNU-win32 mailing list)
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 <fjh@cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3 | -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".