Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus

2023-09-26 Thread Jacob Bachmeyer
Zack Weinberg wrote: On Mon, Sep 25, 2023, at 10:08 PM, Jacob Bachmeyer wrote: Zack Weinberg wrote: On Thu, Sep 21, 2023, at 9:49 PM, Jacob Bachmeyer wrote: I further argue that alternate output modes should only be supported at config.sub; config.guess should always produce

Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus

2023-09-26 Thread Zack Weinberg
On Mon, Sep 25, 2023, at 10:08 PM, Jacob Bachmeyer wrote: > Zack Weinberg wrote: >> On Thu, Sep 21, 2023, at 9:49 PM, Jacob Bachmeyer wrote: >> >>> I further argue that alternate output modes should only be supported >>> at config.sub; config.guess should always produce the current hyphen- >>> d

Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus

2023-09-25 Thread Jacob Bachmeyer
Zack Weinberg wrote: On Thu, Sep 21, 2023, at 9:49 PM, Jacob Bachmeyer wrote: I further argue that alternate output modes should only be supported at config.sub; config.guess should always produce the current hyphen- delimited tuple format. That would preclude autoconf using the new fo

Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus

2023-09-25 Thread Zack Weinberg
On Thu, Sep 21, 2023, at 9:49 PM, Jacob Bachmeyer wrote: > I further argue that alternate output modes should only be supported > at config.sub; config.guess should always produce the current hyphen- > delimited tuple format. That would preclude autoconf using the new format. We don't want to hav

Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus

2023-09-21 Thread Jacob Bachmeyer
Zack Weinberg wrote: On Wed, Sep 20, 2023, at 9:59 AM, John Ericson wrote: On Wed, Sep 20, 2023, at 6:01 AM, Dmitry V. Levin wrote: Of course config.sub can provide a canonicalization of windows-cygnus into cygwin if it helps. I was worried that would close off the possibility o

Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus

2023-09-21 Thread John Ericson
On 9/21/23 09:35, Dmitry V. Levin wrote: On Wed, Sep 20, 2023 at 09:59:22AM -0400, John Ericson wrote: Of course config.sub can provide a canonicalization of windows-cygnus into cygwin if it helps. I was worried that would close off the possibility of adding them as normal forms later, but

Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus

2023-09-21 Thread Dmitry V. Levin
On Wed, Sep 20, 2023 at 09:59:22AM -0400, John Ericson wrote: > On Wed, Sep 20, 2023, at 6:01 AM, Dmitry V. Levin wrote: > > The issue with adding new names duplicating already supported ones is that > > every piece of software that handles the old name would have to be patched > > eventually to ha

Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus

2023-09-21 Thread Zack Weinberg
On Wed, Sep 20, 2023, at 9:59 AM, John Ericson wrote: > On Wed, Sep 20, 2023, at 6:01 AM, Dmitry V. Levin wrote: >> Of course config.sub can provide a canonicalization of windows-cygnus >> into cygwin if it helps. > > I was worried that would close off the possibility of adding them as > normal for

Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus

2023-09-20 Thread John Ericson
On Wed, Sep 20, 2023, at 6:01 AM, Dmitry V. Levin wrote: > The issue with adding new names duplicating already supported ones is that > every piece of software that handles the old name would have to be patched > eventually to handle the new name as well. Yes, that is true. I have no good answer f

Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus

2023-09-20 Thread Dmitry V. Levin
On Tue, Sep 19, 2023 at 09:31:13PM -0400, John Ericson wrote: > On 9/19/23 20:19, Dmitry V. Levin wrote: > > On Wed, Aug 16, 2023 at 10:46:26AM -0400, John Ericson wrote: > > > >> In 91f6a7f616b161c25ba2001861a40e662e18c4ad I supported `windows-gnu` > >> and `windows-msvc`, but I forgot about the

Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus

2023-09-19 Thread John Ericson
On 9/19/23 20:19, Dmitry V. Levin wrote: On Wed, Aug 16, 2023 at 10:46:26AM -0400, John Ericson wrote: In 91f6a7f616b161c25ba2001861a40e662e18c4ad I supported `windows-gnu` and `windows-msvc`, but I forgot about the last one: `windows-cygnus`. Is windows-cygnus a new name for something alrea

Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus

2023-09-19 Thread Dmitry V. Levin
On Wed, Aug 16, 2023 at 10:46:26AM -0400, John Ericson wrote: > In 91f6a7f616b161c25ba2001861a40e662e18c4ad I supported `windows-gnu` > and `windows-msvc`, but I forgot about the last one: `windows-cygnus`. Is windows-cygnus a new name for something already supported by config.sub, or is it a new