[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus
From: |
Zack Weinberg |
Subject: |
Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus |
Date: |
Tue, 26 Sep 2023 16:16:00 -0400 |
User-agent: |
Cyrus-JMAP/3.9.0-alpha0-957-ga1ccdb4cff-fm-20230919.001-ga1ccdb4c |
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-
>>> delimited tuple format.
>>
>> That would preclude autoconf using the new format. We don't want to
>> have to run both config.sub and config.guess, only one or the other
>> depending on whether there were --build/--host/--target options on the
>> command line.
>
> Passing each tuple through config.sub to canonicalize
> and parse it should not be a serious problem.
Yeah, I partially take this back. I was concerned with the
maintenance burden, not the performance; in particular we do
not want to have to have
eval `config.sub --output=sh \`config.guess\``
because of the nested backticks. But if we could instead do
eval `config.guess | config.sub --stdin --output=sh`
then it would be fine.
zw
- Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus, Dmitry V. Levin, 2023/09/19
- Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus, John Ericson, 2023/09/19
- Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus, Dmitry V. Levin, 2023/09/20
- Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus, John Ericson, 2023/09/20
- Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus, Zack Weinberg, 2023/09/21
- Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus, Jacob Bachmeyer, 2023/09/21
- Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus, Zack Weinberg, 2023/09/25
- Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus, Jacob Bachmeyer, 2023/09/25
- Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus,
Zack Weinberg <=
- Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus, Jacob Bachmeyer, 2023/09/26
- Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus, Dmitry V. Levin, 2023/09/21
- Re: [PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus, John Ericson, 2023/09/21