www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/10/17/19:39:31

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=kct4Bb2KskmCsJmx
zjyme2YZxZGHucc4askPG7wYA5ALgoBTtAfmGQzEDd4txgGq1D3OcQuN8L+Jw9oF
2oUynmQ41uK3s+I/ozUGU3x73VZZ0N5NMyedqDBYydXd6DTIWzIQB6vRmHpfAg8p
N82z7CvTXruZcP8ZUx/kOjl00nY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=9djXAgtjV6D0THW1GTzDZF
yP8Fs=; b=cZsJy7UNj4vzJzavH9Rlp8yJ115Pl1t+Smz/KSjjNeEX9tf+bCVKH9
I13KOzjDi4wNT0I66u19oxB+biIIFLzOai6GtqumUkKXQhaO7hQZF281ZP0wnzBg
nU8+9zfbPwnIMEhSGGyNJ5Mc6ib8Sj1c1oA1aRQyxSgKBU0On9fjA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-6.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=offering, canada
X-HELO: smtp-out-so.shaw.ca
X-Authority-Analysis: v=2.2 cv=e552ceh/ c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=N659UExz7-8A:10 a=mDV3o1hIAAAA:8 a=DqRhay81bXakwuk7qbgA:9 a=pILNOxqGKmIA:10 a=_FVE-zBwftR9WsbkzFJk:22
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: Which is it -pc- or -unknown-
To: cygwin AT cygwin DOT com
References: <29b66287-6bd7-4e82-b35d-12a735c2070b AT gmail DOT com> <2a7bbdb0-1a76-690f-0a2a-1f64eb612df4 AT SystematicSw DOT ab DOT ca> <c9341d15-006a-9ba7-ba29-33cf512e8c9b AT gmail DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Message-ID: <04957a74-4b00-44c9-610a-c847d1dc085a@SystematicSw.ab.ca>
Date: Tue, 17 Oct 2017 17:39:13 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
MIME-Version: 1.0
In-Reply-To: <c9341d15-006a-9ba7-ba29-33cf512e8c9b@gmail.com>
X-CMAE-Envelope: MS4wfIGYCA0vBsmlfHQfc0CqxTzDFtxevYOioE5sxMp0/5L7pFBFq+hCgHFsUwqMTXxgRJVhBfvx8area6rwbDEU25K9dUvRw5S1zIt89O6szQ9jlzjh7Yku 3NgMKd8x2Xwc2DWascbIWHCMKwGFNK0KS/J+4GpyIFwhDkIBqMHAahd7HJ5/UENGqVX0QJzZ763ubQ==
X-IsSubscribed: yes

On 2017-10-17 15:31, cyg Simple wrote:
> On 10/17/2017 3:45 PM, Brian Inglis wrote:
>> On 2017-10-17 13:16, cyg Simple wrote:
>>> The config.guess file[1] is confused.
>>> 840    i*:CYGWIN*:*)
>>> 841	echo ${UNAME_MACHINE}-pc-cygwin
>>> 842	exit ;;
>>> -----
>>> 870    amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
>>> 871	echo x86_64-unknown-cygwin
>>> 872	exit ;;
>>> The GCC executable is x86_64-pc-cygwin-gcc.exe but config.guess on my
>>> system gives x86_64-unknown-cygwin so specifying a fully qualified host
>>> doesn't find the executable file.  So which should it be?
>>> [1]http://git.savannah.gnu.org/cgit/config.git/tree/config.guess?id=c003e5cb947924ca5edd25c3b840aaa373c66b28
>> That part of the triplet is defined as vendor, so it was probably initially
>> Intel, then compatibles came out and that was genericized to PC, then someone
>> objected and discussed and came up with Unknown, rather than say Any or None.
>> It may reflect development ages of projects, autotools, defaults on projects, or
>> project politics.
>> Some projects still use PC, which may be a project override, others use Unknown,
>> which should be the default in current releases of autotools.
> So config.guess needs to change, correct?  I thought the I had
> remembered the discussion that it should be -unknown- for Cygwin.  But
> the GCC distribution is giving us -pc- instead which means the
> maintainer specified the target as such.  That needs to change as well.
> I'm on x86_64 I bet x86 will be -pc- from config.guess just by the way
> it's coded.  Confusing!

You might want to diff the upstream config.{guess,sub} with those from
/usr/share/automake1.{14,15}/ as those are the latest, and earlier releases to
see if they are just old, in case there are project customizations.
You can then decide whether you want to look further at how much of the project
automake infrastructure you want to upgrade, or check if the project has looked
at, or is working on, doing that.
If you do so, you could look at offering that back upstream.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019