On Thu, Nov 18, 2004 at 05:47:58PM +0100, Reini Urban wrote: >Christopher Faylor schrieb: >>On Thu, Nov 18, 2004 at 10:32:29AM +0100, Reini Urban wrote: >>>Unfortunately we need -mwindows. >> >>No. We don't. What do you think -mwindows implies? >> >> From the gcc spec file: >>*link: >> %{mwindows:--subsystem windows} %{mconsole:--subsystem console} >> >>A program can only be subsystm windows or console. It can't be both. >>It is a bug in ld and in gcc that you are able to supply both. > >Thanks. I tried without -mwindows and the linker failed. >But -mconsole is the solution.
It's still a linker bug. You're probably just creating a console based app that looks for WinMain as its main function. I'll forego responding to the rest of your message since I see that you still want to talk about setup log files and it was not my intent to address this issue at this time. cgf