delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/15/00:02:39

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:message-id:from:to:references:in-reply-to
:subject:date:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=U75mjlCKrdjhSC/5
G2v0A1yN5Q1G8ujpTgvoSTWHIWs+gNXucPPOXJtnc+3eLY7E/nAjySzzdEOkJwFz
3JAAmoqVI4iyoY2mq0W1vjjFCAh7M4HHmLOPcw/EEE+NYSXnHFj8+9q9Ok7Dad8/
iVw2Ds1rLyUnZiIazRt9633D/j0=
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:message-id:from:to:references:in-reply-to
:subject:date:mime-version:content-type
:content-transfer-encoding; s=default; bh=Tc8fG70+zm4KWgXb3okpDv
PPeAY=; b=BV8Hg+7n0LyIwp8zqLh+UUtBJv4cRZBEGzhjqq9RC5CoNybWZt5+UZ
CTLRk7lD98NCIdirQKTP8n9vSpqimzb9ys0slF4D65LsFEs94qwAOhkLglEPpOW5
jtrGvYMNVei8+7od/XnUXTkK3ynZU99DT9yIwkvxre7jpj3M18C4s=
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=-0.1 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,RCVD_IN_SEMBACKSCATTER,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: mail108.syd.optusnet.com.au
Message-ID: <EA08C4F87B944B099DA92DB9EC126CD4@OwnerPC311012>
From: <sisyphus1 AT optusnet DOT com DOT au>
To: <cygwin AT cygwin DOT com>
References: <E55DAFB039184B68A59ACA51835394A5 AT OwnerPC311012> <566ECF40 DOT 3020000 AT gmail DOT com> <2548A0BAF6DD44E2A632BFA8D0028E9A AT OwnerPC311012> <566F7F0E DOT 7060608 AT cornell DOT edu>
In-Reply-To: <566F7F0E.7060608@cornell.edu>
Subject: Re: Compiling for native Windows
Date: Tue, 15 Dec 2015 16:01:46 +1100
MIME-Version: 1.0
X-Optus-CM-Score: 0
X-Optus-CM-Analysis: v=2.1 cv=PfoC/XVd c=1 sm=1 tr=0 a=8e8rgZJuizJfF74+JHJpGg==:117 a=8e8rgZJuizJfF74+JHJpGg==:17 a=PO7r1zJSAAAA:8 a=N659UExz7-8A:10 a=w_pzkKWiAAAA:8 a=lnoH4lBPmXllJjDmbsgA:9 a=pILNOxqGKmIA:10
X-IsSubscribed: yes


-----Original Message----- 
From: Ken Brown
Sent: Tuesday, December 15, 2015 1:46 PM
To: cygwin AT cygwin DOT com
Subject: Re: Compiling for native Windows

> Assuming that gmp supports cross-compiling (which is likely), you can just 
> use the configure option --host=x86_64-w64-mingw32.  This will 
> automatically select the right gcc, nm, etc.

Thanks Ken. It embarrasses me to admit that I didn't know "--host" would do 
that.
It's certainly worth knowing.

Cheers,
Rob 


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