delorie.com/archives/browse.cgi | search |
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: | <4.3.1.2.20011109130953.01635608@pop.ma.ultranet.com> |
X-Sender: | lhall AT pop DOT ma DOT ultranet DOT com |
X-Mailer: | QUALCOMM Windows Eudora Version 4.3.1 |
Date: | Fri, 09 Nov 2001 13:12:39 -0500 |
To: | Ignasi Villagrasa <gri AT netcom DOT es>, Cygwin <cygwin AT cygwin DOT com> |
From: | "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com> |
Subject: | Re: Different console ouput functions |
In-Reply-To: | <3BEC1B23.6040102@netcom.es> |
Mime-Version: | 1.0 |
At 01:06 PM 11/9/2001, Ignasi Villagrasa wrote: >I'm migrating to Cygwin a Watcom C++ based program. > >It uses printf function as well as Win32 API console output calls. I don't know why, but only Win32 API functions work fine. Standard library functions don't do anything. > >I built the program linking to crtdll at first and to msvcrt later.Function printf never works properly . It doesn't print anything. On the other side, for instance, function WriteConsoleOutput has no problems. > >I think perhaps different find of functions print to different virtual consoles, but I don't know cygwin enough to know where to configure it. > >So I'd be very glad if someone could give me a hint. You might want to check the email archives on this subject. There has been a discussion on exactly this issue in the last few weeks. Essentially, if you haven't built a console program (as opposed to one with a GUI), printf doesn't go anywhere. See the email archives thread for details and options (neither of which I recall at the moment! ;-) ) Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |