www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/03/01/11:35:31

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Date: Thu, 1 Mar 2001 11:34:24 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-apps AT cygwin DOT com
Subject: Re: standard output?
Message-ID: <20010301113424.F1326@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin-apps AT cygwin DOT com
References: <15006 DOT 11789 DOT 163116 DOT 676944 AT salmon DOT ls DOT fi DOT upm DOT es>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <15006.11789.163116.676944@salmon.ls.fi.upm.es>; from boris@aaron.ls.fi.upm.es on Thu, Mar 01, 2001 at 12:10:05PM +0100

On Thu, Mar 01, 2001 at 12:10:05PM +0100, Manuel Carro wrote:
>
>    Hi.  I am using (very successfully, congratulations to the folks
>at cygnus!) cygwin to port a rather Unix big application to Windows
>(it is Prolog compiler + ancillary tools:
>http://clip.dia.fi.upm.es/Software/Ciao).  It always went really
>smooth, but for a problem: I am unable to see the standard output of
>a, say, "hello, world!" program in the MS-DOS console.  The program
>starts up and finishes, but printing does not seem to come out (it
>works just fine double clicking on it, or starting it from the cygnus
>console).  Tried -mwindows and putting a WinMainCRTStartup function,
>to no avail.  

Adding -mwindows means that the application is not a console application
so output does not go to stdout.  You just can't do that in Windows.
Sorry.

I'm redirecting your request to the cygwin mailing list since this is not
really a cygwin-apps type of question -- unless you are planning on making
this software part of the standard Cygwin release.

cgf

- Raw text -


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