On 2020-06-05 9:59, Martin Storsjö wrote:
Hi,
On Fri, 5 Jun 2020, Steve Lhomme wrote:
Hi,
On 2020-06-04 8:33, Martin Storsjö wrote:
This adds libucrtapp.a, which is the same as libucrt.a, but excluding
libapi-ms-win-crt-private-l1-1-0.a, and with a few statically
linked functions added that otherwise normally are linked from
libapi-ms-win-crt-private-l1-1-0.a.
What is the status of api-ms-win-crt-private-l1-1-0.dll ? Is it always
installed with the UCRT runtime, even on Windows 7 ? If not it should
probably be removed from libucrt.a, otherwise it would lead to builds
with just -lucrt that can't directly be used as a regular UCRT build
done with MSVC.
Yes, it's always installed along with the UCRT. E.g. in Windows
Kits/10/Redist/10.0.*.0/ucrt/DLLs, you have that one along with the others.
OK then. Using -lucrt would use the private DLL but I guess it's OK for
people who use the redistributed package. It may not be possible in some
cases like the Xbox and maybe some other devices where you're expected
to use a limited set of API plus provide the rest in the app package
(vcruntime140_app.dll for example). In that case it should be OK to use
ucrtapp instead, which is a common suffix to use for limited
winstore/UWP libraries.
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public