Re: libmsvcrt.a and _create_locale in win7
Keith Marshall <[email protected]>
| Newsgroups | gmane.comp.gnu.mingw.user |
|---|---|
| Organization | MinGW.org Project |
| Message-ID | <[email protected]> |
On 05/06/19 08:43, Andrei Voronin wrote:
> 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).
> The thing is the libmsvcrt.a points on msvcrt.dll and suppose that in
> there is a declaration (definition?) of _create_locale function. In
> win10 this statement is correct, but in win7 (Microsoft Windows [Version
> 6.1.7601] in my case) the declaration is in msvcr120_clr0400.dll.
MSVCR120_CLR400.DLL is a component of Microsoft's Common Language
Runtime, (part of the .NET framework). I don't know to what extent it
may be a viable replacement for MSVCRT.DLL; I suspect not at all.
> I found some config file for preprocessor where msvcrt.dll functions
> restricted by a version of the Windows
> https://osdn.net/projects/mingw/scm/git/mingw-org-wsl/blobs/5.2-trunk/mingwrt/msvcrt-xref/msvcrt.def.in
> but I don't understand all build workflow.
That's the common source for the MSVCRT.DLL, and its various non-free
MSVCRxxx.DLL counterpart, import library definition files; it is also a
component of the source for the msvcrt-xref.pdf document, which cross
references symbol availability in each of these import libraries, (up to
MSVCRT.DLL on Win7, and non-free to MSVCR120.DLL).
> I really hope that is a fixable problem.
It may be fixable, but not as readily as you might like. You most
definitely must _not_ link with both MSVCRT.DLL and any version of the
CLR, in any one application; (indeed, as noted above, you may not be
able to use the CLR with MinGW, in any way). A viable solution, for
you, may be to _substitute_ MSVCR120.DLL for MSVCRT.DLL — you must not
attempt to link any one application with both — but that implies:–
1) Acceptance of a dependency on a non-free runtime library, which
you must obtain for yourself, and which you may not be authorized
to redistribute, unless you have a paid-for MSVC licence.
2) Modification of your MinGW installation, by way of a customized
GCC specs file, to exclude MSVCRT.DLL from the link, replacing
all MSVCRT.DLL references with MSVCR120.DLL, as described in my
comment on http://www.mingw.org/wiki/SpecsFileHOWTO (an article
which would benefit from a comprehensive overhaul).
--
Regards,
Keith.
Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F
_______________________________________________
MinGW-Users mailing list
[email protected]
This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated.
_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.osdn.me/mailman/listinfo/mingw-users
Also: mailto:[email protected]?subject=unsubscribe
signature.asc
(application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQIcBAEBAgAGBQJc95fmAAoJEMCtNsY0flo/JbQP/28dibhF1Sej1OSaLpPFGQ89 FVWvrqhjZNaPJVJTLbwZSDUdybxbjEbSGp0elmvwLB5Xk3tOyfF0HQyM46lblYT8 IIS0dcDRNjgiVAZCSWgKp/u6sBTKoJSnlC2FOpMEzT4pvrQ8QU47j78OWDuckT3F Q/miN+zFqO51brCEjx4q8FjRsHTe/gA/XG82Nev2dMQbJIUV1BmT6EM4lYejAWaZ vBkQlmBbrXvXrDNem7UT2UTJpsp46xJ1YUxH7shvhdtWaaqg6YObZdWDIW3gGE4M Pdvzo2m6G+01vq/6lSNsbYQmAdna8LYWIJU0GzgwUQZuAP/fFo8q+FcXu2qP6e1O blvkTwY+mUDwJh8w5eYfChWjV3jypWq0H+S/qon0sejkrOEkrysczmW8LgAMGbRR SUP9js21Aa+Be+LhD+UXjVPE90Wb392dLlPOJpQuevxMTO4SYJVCtRjwr9ktNXyn LU0p8nJfMGdtywxG/+S3HnvI1AIxPo+Pc8pNHVcWqyQ0z66Jprase+mvNaEgZDLB 01W1GhF8Pd3EnlfZosonGTVAtjixqS8l+cWr/fNBnxYmEY4Qv9MN6kSxsGmECTxC g/iUDdCr6BIEAyT6OpkzcDPMKuXE5evglFwRtWvt3E3Vg/CsRfk8XmoCEy0IwdXF wHltjieIK76YkwvR5TY9 =0RG2 -----END PGP SIGNATURE-----