readme: Add links for downloading and installing UCRT on older Windows versions

This commit is contained in:
Martin Storsjö committed 2024-11-19 14:01:06 +02:00
1 parent f343f6447b
commit 53d1f7b628
1 file changed
+8 -5
+8 -5
View File
@@ -41,7 +41,8 @@ contempory distributions as well.)
There are packages with two different choices of CRT (C runtime) - the There are packages with two different choices of CRT (C runtime) - the
primary target is UCRT (the Universal C Runtime). The UCRT primary target is UCRT (the Universal C Runtime). The UCRT
is available preinstalled since Windows 10, but can be installed is available preinstalled since Windows 10, but can be
[installed](https://www.microsoft.com/en-us/download/details.aspx?id=50410)
on top of Vista or newer. The other legacy alternative is `msvcrt`, on top of Vista or newer. The other legacy alternative is `msvcrt`,
which produces binaries for (and uses) msvcrt.dll, which is a which produces binaries for (and uses) msvcrt.dll, which is a
built-in component in all versions of Windows. This allows running built-in component in all versions of Windows. This allows running
@@ -106,10 +107,12 @@ normal GCC/binutils based MinGW.
should be freed by the same DLL that allocated it). should be freed by the same DLL that allocated it).
- The windres replacement, llvm-rc, isn't very mature and doesn't support - The windres replacement, llvm-rc, isn't very mature and doesn't support
everything that GNU windres does. everything that GNU windres does.
- The toolchain defaults to using the Universal CRT (which is only available - The toolchain defaults to using the Universal CRT and targeting Windows 7.
out of the box since Windows 10, but can be installed on Vista or newer) These defaults can be changed in `build-mingw-w64.sh` though. The Universal
and defaults to targeting Windows 7. These defaults can be changed in CRT is only available out of the box since Windows 10, but can be
`build-mingw-w64.sh` though. [installed](https://www.microsoft.com/en-us/download/details.aspx?id=50410)
on Vista or newer. For x86, there are also releases that run on
msvcrt.dll.
- The toolchain uses Windows native TLS support, which doesn't work properly - The toolchain uses Windows native TLS support, which doesn't work properly
until Windows Vista. This has no effect on code not using thread local until Windows Vista. This has no effect on code not using thread local
variables. variables.