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

18 Apr 1997 12:05:02 -0700
Sender: [email-masked]
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
References: <[email-masked]>
X-Sender: [email-masked]
X-Mailer: Windows Eudora Pro Version 3.0.1 (32)
Original-To: [email-masked]
Original-Cc: James Paul Morgan <[email-masked]>
In-Reply-To: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Original-Sender: [email-masked]

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 <params> |& 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
"[email-masked]" with one line of text: "help".