My understanding was always that mingw, as opposed to Cygwin, didn't supply
a CRT, but instead used the Windows CRT. I never gave this a second thought
until recently, and am now very confused.

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.

All the above is assuming mingw and mingw-w4 are the same in this respect.
Again, my understanding is that the difference between them is just that
mingw-w64 uses newer versions of gcc and binutils and stuff. Am I wrong
again?

If the above is too hard to explain, or my question is too hard to
understand, at the very least, can someone explain to me what parts of
mingw-w64 are gcc code compiled for Windows (minimal adaptions), what parts
are used directly from Windows/MS, and what parts are written specifically
for mingw-w64?

Thank you

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