From: Carl K. <cmk...@gm...> - 2003-04-03 13:01:00
|
does it mean, I do need -mthreads only for exception handling? So, if I compile c++ with -fno-exceptions, do I need the -mthreads flag? Carl >Subject: Re: compiling with thread support >From: "Luke Dunstan" <coder_infidel <at> hotmail.com> >Date: Thu, 03 Apr 2003 09:31:13 +0800 >Newsgroups: gmane.comp.gnu.mingw.user > > >You don't have to choose a different C library because MinGW always uses the >MSVC "Multithreaded DLL" library, but you do need to use the "-mthreads" >flag when compiling and linking to ensure that C++ exception handling is >thread-safe. Be aware that this also causes your executable to depend on >mingwm10.dll, which is in the MinGW bin directory. > >Luke -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! |