delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4CB3760A.5060803@redhat.com> |
Date: | Mon, 11 Oct 2010 14:39:38 -0600 |
From: | Eric Blake <eblake AT redhat DOT com> |
User-Agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.4 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Which CHOST? |
References: | <AANLkTi=OhELBBCec3M3oZUcyeAAxGuwKuKZ_V979Z5gE AT mail DOT gmail DOT com> |
In-Reply-To: | <AANLkTi=OhELBBCec3M3oZUcyeAAxGuwKuKZ_V979Z5gE@mail.gmail.com> |
X-IsSubscribed: | yes |
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 |
On 10/11/2010 02:21 PM, Al wrote: > Hello, > > what is the current CHOST? I'm not sure what you meant by CHOST - it's not an environment variable that I'm familiar with. Who expects it to be set? Did you mean target triplet? > > It is i686-pc-cygwin1.7 according to this posting from Eric: > > http://www.cygwin.com/ml/cygwin/2009-02/msg00669.html That patch was rejected upstream. Running config.guess on cygwin 1.7.7 still intentionally produces: i686-pc-cygwin > If I set the CHOST to i686-pc-cygwin1.7 I have troubles with some > builds for example libiconv, gettext and zlib. Supplying bogus target triplets to build machinery programs is not recommended. Many configure programs (mistakenly) compare $host or $host_os (the autoconf names for the full target triplet and the third member of the triplet) against the pattern cygwin, rather than the glob cygwin*; and while those programs should probably be fixed upstream, they at least have the justification that they match the current config.guess program output, and that you probably shouldn't have supplied a triplet that wasn't documented in config.guess in the first place. -- Eric Blake eblake AT redhat DOT com +1-801-349-2682 Libvirt virtualization library http://libvirt.org -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |