On May 8, 2003 07:57 pm, Alexandre Julliard wrote:
That should be fairly easy to do in winebuild. I'll have a look next time I find time to hack winebuild.
Thanks, much appreciated. This one actually blocks proper Wine support in wxWindows, so it will be way cool to fix it.
- 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.
From the gcc 3.2.2 docu:
-mthreads Support thread-safe exception handling on Mingw32. Code that relies on thread-safe exception handling must compile and link all code with the -mthreads option. When compiling, -mthreads defines -D_MT; when linking, it links in a special thread helper library -lmingwthrd which cleans up per thread exception handling data.
Are we always thread safe? I'm not even sure what exception handling they refer to...