From 670f400b9679c8e539db8d4abb27d93bc65aed15 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Thu, 14 Sep 2023 00:34:22 -0400 Subject: [PATCH] Remove `windows-gnu` `windows-gnu` has been used by LLVM and Rust to mean MinGW, but many people on the mailing list object that it is in no way bona fide GNU on Windows. Even under the interpretation of `-gnu` as a libc which LLVM often goes with, it doesn't pass muster either because MinGW uses msvcrt/ucrt, not any GNU libc. Arguably Cygwin, using a modified (GNU) Newlib, is the closest thing we have to "GNU on Windows" today. We couldn't decide on what `windows-*` should replace it, or even whether there should be such a thing, so absent consensus it is better to just remove it while it is still recently added and we don't need to worry about backwards compatibility. We can always re-add it later, but we can't do nothing now and remove it later. --- config.sub | 2 +- testsuite/config-sub.data | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/config.sub b/config.sub index 6ae2502..01d88ff 100755 --- a/config.sub +++ b/config.sub @@ -1763,7 +1763,7 @@ case $kernel-$os in ;; managarm-mlibc* | managarm-kernel* ) ;; - windows*-gnu* | windows*-msvc*) + windows*-msvc*) ;; -dietlibc* | -newlib* | -musl* | -relibc* | -uclibc* | -mlibc* ) # These are just libc implementations, not actual OSes, and thus diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data index ba934b6..8071e40 100644 --- a/testsuite/config-sub.data +++ b/testsuite/config-sub.data @@ -886,7 +886,6 @@ x86_64-sortix x86_64-pc-sortix x86_64-twizzler x86_64-pc-twizzler x86_64-unknown-ptx x86_64-sequent-ptx x86_64-windows x86_64-pc-windows -x86_64-windows-gnu x86_64-pc-windows-gnu x86_64-windows-msvc x86_64-pc-windows-msvc x86_64-wrs-vxworks x86_64-wrs-vxworks x86_64-wrs-vxworks-simlinux x86_64-wrs-vxworks-simlinux