[Mingw-users] libmsvcrt.a and _create_locale in win7

Back to archive index
Andrei Voronin v.and****@proto*****
Wed Jun 5 22:03:35 JST 2019


> > There is an issue that I hit a few days ago. Unfotuanally osdn.net
> > can't register new accounts right now.
>
> In what way is it failing? I can access the account creation form, and
> complete it, but I didn't go as far as submitting it, (because I don't
> really want a second OSDN.net account).

After hitting submit I have got: "Due to technical reasons, the email
address can not be used".

With msvcrt-xref.pdf document, now I hope that I understand the difference
between MSVCRT.DLL and MSVCR120.DLL.
Shortly, as I get it:

- MSVCRT.DLL system dll with back compatibility to older windows systems,
  always present in the system.
- MSVCR120.DLL part of Microsoft Visual C++ redistributable.

I suppose that libmsvcrt.a use both MSVCRT.DLL and its MSVCRxxx.DLL
satellites. And we have the same libmsvcrt.a on all windows distributions.

Seems like win10 machine have no trouble with _create_locale call
because it has this function in MSVCRT.DLL, but win7 don't
have _create_locale in MSVCRT.DLL.

MinGW project can't rely on MSVC redistributable because
it's not always available, and it has its own licensing.
So it is not possible to just link libmsvcrt.a with MSVCRxxx.DLL.

But with the mechanism of GCC specs file, I can subset the other DLL
instead MSVCRT.DLL in build, and at this point, I should know what
I'm doing in terms of licensing and distribution.



More information about the MinGW-Users mailing list
Back to archive index