delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/11/09:10:06

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <41937244.8040404@comcast.net>
Date: Thu, 11 Nov 2004 09:08:04 -0500
From: Aaron Conole <conole AT comcast DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040803
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: stderr and clearmake
X-IsSubscribed: yes

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



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019