Peter Rosin wrote:

> Ah, ok. That's bad. The misleading name i586-mingw32msvc-gcc caught
> me. Again. What in the world is "msvc" doing in there?

I believe this is to denote that it defaults to the MSVCRT runtime, as
opposed to the very old CRTDLL one, which the MinGW toolchain still
provides components for:

startup object for executable:
   crt1.o (CRTDLL) vs. crt2.o (MSVCRT)
startup object for shared library:
   dllcrt1.o (CRTDLL) vs. dllcrt2.o (MSVCRT)
import lib for runtime:
   libcrtdll.a vs. libmsvcrt.a
lib supplying aliases of common ANSI functions without underscores:
   libcoldname.a vs. libmoldname.a

So I guess they are just being explicit in their target name so that if
they ever wanted or needed to offer a toolchain that defaults to CRTDLL
it would not clash.  Not that I can imagine anyone wanting that.

Brian


Reply via email to