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: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Date: Thu, 1 Mar 2001 11:34:24 -0500 From: Christopher Faylor 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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