config-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: config.sub should normalize *-*-windows-*


From: Jacob Bachmeyer
Subject: Re: config.sub should normalize *-*-windows-*
Date: Mon, 21 Aug 2023 21:35:05 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0

Po Lu wrote:
Jacob Bachmeyer <jcb62281@gmail.com> writes:

[...]

but several existing tuples use a libc or ABI name in place of a
kernel and/or operating system.
In each of those cases, the ABI name _can_ be construed as a kernel
(since there is no kernel at all), or the libc name refers to a general
category of OS.  Neither of these situations are applicable to MinGW or
MSVC.
Arguably, MinGW *is* an ABI name.

Either way, that ship has already sailed.  So we're stuck with dubbing
MinGW an operating system.

No, we are not. CPU-VENDOR-KERNEL-OS-LIBCABI, with at least one of the latter three omitted, fits the bill. In that case, the reference to MinGW means that "OS" and/or "KERNEL" are omitted and MinGW is the ABI. The next logical extension is to allow all five to be present, to describe systems flexible enough to accommodate multiple ABIs.

Think about why the GNU project pushes to call the common system
"GNU/Linux" and you should see the reason for using
`*-*-linux-gnu-musl' to express a GNU/Linux system using musl libc.

If the GNU libc isn't being used, it's not a complete GNU system.  We
should defer establishing suitable configuration names for Frankenstein
systems until the moment they come into existence.

The problem is that that example does exist, so we need to find a systematic way to accommodate it before more such variant GNU systems are produced and we have a real mess.


-- Jacob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]