From 53d1f7b6285d88a6a460ccbb43e665ce24398a6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Tue, 19 Nov 2024 14:01:06 +0200 Subject: [PATCH] readme: Add links for downloading and installing UCRT on older Windows versions --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index fddf401..6182f62 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,8 @@ contempory distributions as well.) There are packages with two different choices of CRT (C runtime) - the 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`, which produces binaries for (and uses) msvcrt.dll, which is a 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). - The windres replacement, llvm-rc, isn't very mature and doesn't support everything that GNU windres does. -- The toolchain defaults to using the Universal CRT (which is only available - out of the box since Windows 10, but can be installed on Vista or newer) - and defaults to targeting Windows 7. These defaults can be changed in - `build-mingw-w64.sh` though. +- The toolchain defaults to using the Universal CRT and targeting Windows 7. + These defaults can be changed in `build-mingw-w64.sh` though. The Universal + CRT is only available out of the box since Windows 10, but can be + [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 until Windows Vista. This has no effect on code not using thread local variables.