delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/09/04:05:07

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <9FD1B9BA394ED31181EC0008C7A4FFD202904D46@ffz00zaj.wwz1me.mail.dresdner.net>
From: "Quoss, Clemens" <Clemens DOT Quoss AT Dresdner-Bank DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: No output on stdout
Date: Wed, 9 May 2001 10:03:56 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)

Hello,

when I compile a very simple C program like the one below with gcc
under Cygwin and then run it in bash, I don't get an output on the
console window.

When I run the same executable under a DOS Shell in Windows
NT or 98, I get the 'Hello, Cygwin!' line.

Is there anything I overlooked on setup (I did set CYGWIN
to 'tty notitle glob' like mentioned in the User's guide)?
Anything else that prevents the stdout to be shown 
on console?

TIA

Bye

Clemens Quoss

The C program:

#include <stdio.h>
#include <stdlib.h>

int main(void) {

  printf("Hello, Cyqwin!\n");
  return 0;

} // main

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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