X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4CB3760A.5060803@redhat.com>
References: <AANLkTi=OhELBBCec3M3oZUcyeAAxGuwKuKZ_V979Z5gE@mail.gmail.com>	<4CB3760A.5060803@redhat.com>
Date: Tue, 12 Oct 2010 11:45:32 +0200
Message-ID: <AANLkTi==h-QC8CSkJpEkyd-6GOF4rezBnOry8k9PirFD@mail.gmail.com>
Subject: Re: Which CHOST?
From: Al <oss.elmar@googlemail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

2010/10/11 Eric Blake <eblake@redhat.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 t=
hat
> I'm familiar with. =A0Who expects it to be set? =A0Did you mean target tr=
iplet?
>

Hello Eric,

To correct myself, it seems $CHOST is not that Gentoo specific.

Have a look into the sources of zlib. You will find a usage example of
$CHOST in ./configure.

zlib is an interesting case, anyway. The default case of the unpatched
sources builds on Cygwin, but if you set the $CHOST correctly it runs
into a special CYGWIN case. It forgets to set $LDSHARED and the
Makefile breaks. Hence, you find a big patch for Cygwin.

Al

--=20
Caution crosser: =A0Runnig Gentoo/Prefix on Cygwin/Vista.
All stupid questions are related to that context.

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

