Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: "Ajit George" To: , Subject: RE: Ouptput question Date: Tue, 28 Sep 1999 19:13:51 -0500 Message-ID: <000201bf0a0f$825ec7a0$830120d0@abita.kurianinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Importance: Normal In-Reply-To: <144d37d0.2522b142@aol.com> Errors get printed to stderr, not stdout. The following should work: c++ foo.exe foo.cpp > out.txt 2>&1 Ajit -----Original Message----- From: cygwin-owner AT sourceware DOT cygnus DOT com [mailto:cygwin-owner AT sourceware DOT cygnus DOT com] On Behalf Of JSONCRAIG AT aol DOT com Sent: Tuesday, September 28, 1999 7:03 PM To: cygwin AT sourceware DOT cygnus DOT com Subject: Ouptput question This may sound really stupid but I can't get the output from compiling (warnings, erros, etc.) to be put into a text file. I'm guessing it has something to do with c++.exe passing execution to cc1plus.exe. Anyway, I've tried the following to no avail: $ c++ -o foo.exe foo.cpp > out.txt $ c++ -o foo.exe foo.cpp >> out.txt This sounds like a real beginner problem, but I still can't figure it out and with STLs many templates getting expanded in a few compile-time errors, it's not rare to have an error go over 4 screens of info. Thanks, Jason -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com