Win32 Mozilla 1.4b+ GCC (MingW)?

Alexandre Julliard julliard at
Thu May 8 18:57:03 CDT 2003

"Dimitrie O. Paun" <dimi at> writes:

>   1. It seems that MinGW's gcc support both main()
>      and WinMain() as entry points irregardless of
>      the -mwindows flags. We don't. This results in
>      configure tests. For example, we can't currently
>      build wxWindows using their configure script
>      because configure invokes winegcc with the
>      -mwindows flag even though it builds simple
>      console apps that have a simple main() function.
>      This obviously works under MinGW. I have little
>      knowledge about linking issues like this, how
>      can we support that in wingcc/winewrap?

That should be fairly easy to do in winebuild. I'll have a look next
time I find time to hack winebuild.

>   3. I haven't tried, but I don't think we do the
>      right thing when we're invoked with the -mthread
>      flag. Alexandre, what extensions (if any) we
>      need to gcc to be able to support Windows programs
>      that use the -mthread flag?

I guess we can simply ignore that flag, but I haven't looked at that
in detail.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list