config-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] * config.sub: Cordon off single-component aliases


From: Earnie
Subject: Re: [PATCH] * config.sub: Cordon off single-component aliases
Date: Fri, 18 May 2018 10:00:10 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0


On 5/17/2018 5:57 PM, John Ericson wrote:
> Currently, there are number of aliases that expand both on their own and as
> part of multi-component configurations. For example:
> 
>       $ ./config.sub 386bsd-linux
>       i386-pc-bsd
> 
> This change moves all of those to just trigger on a single field branch,
> preventing their matching as part of larger components:
> 
>       $ ./config.sub 386bsd-linux
>       Invalid configuration `386bsd-linux': machine `386bsd' not recognized
> 

This would not be kind.  I expect that config.sub gives the proper
triplet when doing ./config.sub mingw32.  Or am I not understanding you?

The reason ./config.sub mingw32 returns the proper triplet is because
historically people, including many developers, have no idea what
i386-pc-mingw32 means when GCC and binutils creates a directory so
--host=mingw32 is given to create a mingw32 directory instead.

-- 
Earnie



reply via email to

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