delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/10/17/17:31: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=HmRdW9biIzlO6UmG
/9/KYqoe9zV3gyN3ImwePoc5W3VE/vTvNZ9TrNN3zBGOs0i+neuhRi9N5DKPWCBu
Uuz7aKd2UMuJn7S6ypwgKsZeyjN0DYDIgRdNmV8llQKGjK1lAM7Mj61Yje7jfaP+
lSgOlCFl5KTbWbJLSOYamf15Ghk=
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=DUdR/6Py11ULienVmGiCdS
MoDks=; b=tw4aBncvRCmq1OtYW29+eOz5uk+T1Msq+dzWm8AmvVq7CJQ/3kBkZT
BpIaHP88b0Egxa+J0XfpmsphgF5uRKaV2Ra2ze0peH1kqW3OS46PD03kjpuYPDKN
uxY48erXFcDZZhDoyFm8DycwL7q5QgMHXBWrTLk2MKUNtYPbLediU=
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.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=
X-HELO: mail-it0-f54.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=v5nrTMhQhNGel+U/03TGny20w46B/rcuBhZCxDK1Fdc=; b=n0OESPm2V+kSRr1oyO2S8ok5wYubysGkPFaBz3wzsVVbTMuuxj0a30rz4QRBN6QNi8 sC33mVX0EtuxOBN4S69Xr5ymMla1zAVpSZbN+2VoVKzeXfwK94xfSS2YK6DsMS36is3k M5anl01OGrojW1oj37yDo10GV06dS7rzkqU1fsEPeNuXIx5tchLXn/023D6NUaonfndI wNYlaWNHtlM4npsZNa3Si78Y6CqdF+2u3QzSLZW/+HJkl1S2fqUCrBKXJquo2FNDzJJT g+aR5eYsuXa8v+zQ1FEDhDEfiMp2zdGEF72Y7EvEneG7HDN4df2CU1qeTwus94/24g/D Z86A==
X-Gm-Message-State: AMCzsaWKn6fTcgtiWXOml5zF1TaUWzBwJVK6gPCW/pJ8QYPWsn4enzhH DB6a92b+Q/e1Xx4I/AXYTjqzmw==
X-Google-Smtp-Source: ABhQp+Q1WLtD/LIGincUVA1R0x/InVf0PaOKn4G12flo4iT0fn1UENn6Irlp8l33al2oU78B6S97pA==
X-Received: by 10.36.181.15 with SMTP id v15mr7693782ite.35.1508275867021; Tue, 17 Oct 2017 14:31:07 -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>
Reply-To: cygwin AT cygwin DOT com
From: cyg Simple <cygsimple AT gmail DOT com>
Message-ID: <c9341d15-006a-9ba7-ba29-33cf512e8c9b@gmail.com>
Date: Tue, 17 Oct 2017 17:31:10 -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: <2a7bbdb0-1a76-690f-0a2a-1f64eb612df4@SystematicSw.ab.ca>
X-IsSubscribed: yes

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!

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