delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/10/17/23:25:23

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:subject:to:references:reply-to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=pNX0bcT3xybn0O7k
ZPzf3eRzCZOeix4lox+VQRX/eKugSG8AMByBzgMLzIMXSguqWya0B8ffILRH4qdD
4d7+0CtRSVfM7xRbsmgRp8qG9UN0XlODqAMqFX8SwlBtvrF9mK5oxs4Er5OSgKqo
Pouo7jj/2uLF09/F2jEssrFiwCc=
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:subject:to:references:reply-to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=jLPX7Z56sVFsq3GkfZ+KTS
kNgqk=; b=QXaOuaum1/A0+sIyrt3I4nmL2q+mSdSJkX5xNfxXvw2uV0cPEMlFpc
D0Y2S8NIp6QeJKXtmJMmfb0H0zIsvgEYEcmFp1DDvlZlSfIvHMcpfHiXVFjS8T2P
V6dcGRrjOv//Chf5SnWAjmX77ay//kGFiqjLnVyJpr9OpP+lbGf08=
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=-5.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=
X-HELO: mail-io0-f173.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:reply-to:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=uPmL1XqfVZLQpddVe3YzkmOLtfLhJytCzwpv2YAV2r0=; b=aEWfVDRfxaQt/lk1c4IxQ8GqRZm8IF7wtMkqDe/TyyIJLLfzZkbKPAPekICjWMExBm XOxI4WEZ23RuN64XxiAyFyDj1JZ+9XSgL8aeAXPNT+BRh0C33YbAD/87c8xYZel8BuWZ 0sV8ssPL+tGfMTWlt7P/1xaF0AwiIN9dEXoB1t8s+oHiEqRBbOUokEj9GEibFZiijFL4 w7HsnmXy/gGQxeaVnlWAi1AmSA+HfGm6HDQJF9nRD3UA9jRjrdg5z3GSh2XfIpYWazB8 ZfWG1HGAE5xZWkC/3ytD3QHmg3uiDJMZEvLMsoOczNulMqD46TdQBFVMge7b0Rtj5bDr CWNw==
X-Gm-Message-State: AMCzsaWQHfSC5kRihu76BwhILxeXLElmsh+/jZbS+SMah6SYee1RT6ne t4J/Kagv1+ec2Sjreyp/ke2SeA==
X-Google-Smtp-Source: ABhQp+RkHJ91sB2j2aMxmcPRx7O7Bzg+Y+2CQCIZsf+/GuVh8x8O+nnWlYcoJ/m2MwagGUv0MP5WPQ==
X-Received: by 10.107.147.131 with SMTP id v125mr20109960iod.240.1508297103049; Tue, 17 Oct 2017 20:25:03 -0700 (PDT)
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> <04957a74-4b00-44c9-610a-c847d1dc085a AT SystematicSw DOT ab DOT ca>
Reply-To: cygwin AT cygwin DOT com
From: cyg Simple <cygsimple AT gmail DOT com>
Message-ID: <188f5885-71be-214d-c3ba-ac76eac2311d@gmail.com>
Date: Tue, 17 Oct 2017 23:25:02 -0400
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: <04957a74-4b00-44c9-610a-c847d1dc085a@SystematicSw.ab.ca>
X-IsSubscribed: yes


On 10/17/2017 7:39 PM, Brian Inglis wrote:
> 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.
> 

Brian, I quoted the git master of config.guess in my original mail.

My concern is that on my 64bit Cygwin version config.guess guesses the
build as x86_64-unknown-cygwin but x86_64-pc-cygwin-gcc.exe is
distributed.  Therefore there is a mismatch between what the maintainer
gives us from the GCC distribution and what the upstream config.guess
gives us.  This leads to not being able to find
x86_64-unknown-cygwin-gcc.exe.

-- 
cyg Simple

--
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