delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/04/26/00:07:12

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Mail-Followup-To: cygwin-apps AT cygwin DOT com
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Date: Fri, 26 Apr 2002 00:06:59 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-apps AT cygwin DOT com
Subject: Re: setup changes to build standalone
Message-ID: <20020426040659.GC303@redhat.com>
Reply-To: cygwin-apps AT cygwin DOT com
Mail-Followup-To: cygwin-apps AT cygwin DOT com
References: <FC169E059D1A0442A04C40F86D9BA7600C5F04 AT itdomain003 DOT itdomain DOT net DOT au>
Mime-Version: 1.0
In-Reply-To: <FC169E059D1A0442A04C40F86D9BA7600C5F04@itdomain003.itdomain.net.au>
User-Agent: Mutt/1.3.23.1i

On Fri, Apr 26, 2002 at 01:44:32PM +1000, Robert Collins wrote:
>> 2) The above won't work in a cross build environment.  You could say
>>    CC='i686-pc-cygwin-gcc -mno-cygwin'..., I guess.
>
>for cross compiles:
>../setup/configure --host=i686-pc-mingw32 --build-i686-pc-linux 
>should do it (assuming a mingw32 cross compiler is present), or a
>combination using the CC string you have above with the mingw host will
>work too.

Assuming you have a mingw cross compiler is what I was trying to avoid.
For this purpose a 'gcc -mno-cygwin' compiler should work fine.

I think the use of CC='i686-pc-cygwin-gcc -mno-cygwin' should work
everywhere though.

cgf

- Raw text -


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