On Tue, Mar 13, 2012 at 4:45 PM, Ruben Van Boxem <vanboxem.ru...@gmail.com> wrote: > 2012/3/13 Earnie Boyd <ear...@users.sourceforge.net> >> >> On Tue, Mar 13, 2012 at 4:24 PM, Luis Lavena <luislav...@gmail.com> wrote: >> > Compiled as: >> > >> > g++ hello.cc -o hello.exe >> > >> > Still depends on LIBSTDC++-6.DLL > > > Of course it does. > >> >> > >> > Adding -static-libstdc++ made it depend on LIBWINPTHREAD-1.DLL >> > >> >> It depended on both before. > > > Yup (see below) > >> >> > Maybe I'm confusing how it is supposed to work? >> > > > > This has always been the case. What got fixed is programs using std::thread > and a libstdc++ dll. They used to not work and throw a C++ exception when > they shouldn't. Now these programs work as they should with a libstdc++ dll, > as well as statically linked. If you never experienced a problem, nothing > changed. I repeat: only stuff using std::thread is affected. > >> >> >> Try -static -static-libstdc++ to see if you might be happier. IDK if it >> works. > > > see above, he already tried that... >
I still don't see the -static with -static-libstdc++ above. -- Earnie -- https://sites.google.com/site/earnieboyd ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public