[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: printf: doens't print on WinXP installation

From: Richard Frith-Macdonald
Subject: Re: printf: doens't print on WinXP installation
Date: Fri, 23 Oct 2009 15:50:13 +0100

On 23 Oct 2009, at 15:44, Adam Fedor wrote:

Oh, yes - you are trying to compile this as an Application. In that case, GNUstep adds some special flags to keep Windows from trying to output stuff to a command window.

But on my system, I was able to build exactly that program and with that makefile (ie as an app) and launch the resulting app using 'openapp', and it still printed 'hello world'

Perhaps some setting I made in the past has changed windows' behavior to always print to stdout though.

If you really want to see the output of printf, you'll have to compile it as a tool:

include $(GNUSTEP_MAKEFILES)/tool.make

or you could use NSLog (but that goes to the Windows system log unless you are using gdb).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]