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...

Ruben


> --
> Earnie
> -- https://sites.google.com/site/earnieboyd
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to