On Tue, Jul 9, 2013 at 3:56 PM, JonY <[email protected]> wrote:

> On 7/9/2013 20:42, Baruch Burstein wrote:
> >
> > Static libraries compiled with the VS compiler (I think toolchain is the
> > correct term?) cannot be used with mingw compiler as far as I know. So
> when
> > I compile with mingw and a static CRT, which CRT is it using? It can't be
> > using the Windows CRT, since it is a static library from a different
> > compiler. So does mingw actually supply a CRT? And if so, when I compile
> > with a dynamic CRT, why is there no dependency on some mingwCRT.dll? Or
> is
> > there? Or does mingw supply a static CRT, but use the Windows CRT for
> > dynamic CRT? Or am I missing some critical knowledge about what CRTs are
> > without which this whole paragraph makes no sense? I am confused.
> >
>
> It does, but only as a supplement to msvcrt.dll, and it is almost always
> linked statically. There is no such dll, the supplement is in
> libmingwex, C startup code in libmingw32 etc.
>

So if the libmingwex is always linked statically, and the main part of the
CRT is always used dynamically from MSVCRT.dll (since static libraries from
different compilers can't be mixed), then what is the difference between
static and dynamic CRT linking? Or am I wrong and there is no such thing in
mingw(-w64)?

>
>
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>


-- 
˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to