« Return to Thread: printf: doens't print on WinXP installation

Re: printf: doens't print on WinXP installation

by Richard Frith-Macdonald-2 :: Rate this Message:

| View in Thread


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:
>
> TOOL_NAME=HelloWorld
> include $(GNUSTEP_MAKEFILES)/tool.make
>
> or you could use NSLog (but that goes to the Windows system log  
> unless you are using gdb).
>
>
> On


_______________________________________________
Help-gnustep mailing list
Help-gnustep@...
http://lists.gnu.org/mailman/listinfo/help-gnustep

 « Return to Thread: printf: doens't print on WinXP installation