From: trout AT sci DOT fi (Antti Harju) Subject: Re: Catching g++ error output 18 Apr 1997 12:05:02 -0700 Sender: mail AT cygnus DOT com Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <3.0.1.32.19970418182640.006d29b8.cygnus.gnu-win32@sci.fi> References: X-Sender: trout AT sci DOT fi X-Mailer: Windows Eudora Pro Version 3.0.1 (32) Original-To: gnu-win32 AT cygnus DOT com Original-Cc: James Paul Morgan In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Original-Sender: owner-gnu-win32 AT cygnus DOT com At 01:11 18.4.1997 -0600, you wrote: >Is there any way to capture the error output from g++ when it fails on a >compile? Sometimes, a few simple typos or minor bugs can generate more In 4DOS (not in command.com): command >& filename To redirect standard output and standard error to a file or device command >&> filename To redirect standard error only to a file or device You can get a handy scrollable/searchable list with gcc |& list/s -trout -- "We are what we pretend to be, so we must be careful about what we pretend to be." - Kurt Vonnegut - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".