Re: printf: doens't print on WinXP installation
Adam Fedor <[email protected]> Fri, 23 Oct 2009 09:03:07 -0600
| Newsgroups | gmane.comp.lib.gnustep.user |
|---|---|
| Message-ID | <[email protected]> |
On Oct 23, 2009, at 8:50 AM, Richard Frith-Macdonald wrote: > > 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. There's a link flag: -mwindows which is supposed to suppress console output. When I take that out, I can see the printf statements, otherwise I don't. I'm using the standard GNUstep Windows Installer package. Perhaps you have a custom MingW install that's different? I know -mwindows is supposed to be deprecated as well. I'll have to update gnustep-make...