Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 11 Nov 2004 15:55:12 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Aaron Conole cc: cygwin AT cygwin DOT com Subject: Re: stderr and clearmake In-Reply-To: <41937244.8040404@comcast.net> Message-ID: References: <41937244 DOT 8040404 AT comcast DOT net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 On Thu, 11 Nov 2004, Aaron Conole wrote: > Hello, I'm using clearmake, and the Metaware C++ compiler (don't ask...I don't > like metaware either) and whenever I execute a clearmake from within cygwin, I > don't have any stderr output. This was first discovered while I was in an > Xterm, and didn't affect the main window. However, recently, for some reason, > it's started happening in the cygwin window (by cygwin window, I mean > bash.exe) as well. > > I've written a program to print out a message on stdout and then on stderr. > The output is as follows: > aconole AT ACONOLE ~ > ---------------------------- > $ ./stderr-test.exe > This is stderr! > This is stdout! > ---------------------------- > > The code is: > ------------------------ > #include "stdio.h" > > int main(){ > fprintf(stdout, "This is stdout!\n"); > fprintf(stderr, "This is stderr!\n"); > return 0; > } > ------------------------ > > As you can see, for some reason stderr and stdout are being manipulated in > some odd fashion, which may or may not be related to the problem I'm having. > I've already tried manipulating the cygwin variable, without success. > > I can attach information about the cygwin version I'm running. > > running: Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4 > Cygwin version: 1.5.11-1 "buffering". Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/