www.delorie.com/archives/browse.cgi | search |
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:from:message-id:date | |
:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=YFD8JiHSoIQ1/dQ9 | |
17yTZlpfRe1ViJdaf0GkeLqj6ild44BD7zSoQwl3O1Ry94wPj48zLaa9P2XpgXx8 | |
9X+QCg/OA1Aq8PzlRYSTuOp+FXSJ1Jfo8aD1hqDos4lDUEWCNHS3dD7wEz6WLX5q | |
nRBon3rGrdUh4oA0RJNHEKTEw/s= | |
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:from:message-id:date | |
:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=6QCxEoIuj6xKcI7HTvIH/v | |
06Y+o=; b=D5b5AaFD4fSf0tVfEaZBz+WHorV1cQe7Qf3RpHwHYuTwzEsUKqoPbr | |
x5lJuwlKWSDgTn2ozJ6tCKOZVWjfUu80Xfj5mM/sgirQrS7li0YZzwn6p+LXHNVA | |
hKxEkHC2uEDCP+Ql9UnNvrVhQJQ9BJN/3RHWExrrl/EcCZ+giqoDo= | |
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=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 |
X-HELO: | limerock02.mail.cornell.edu |
X-CornellRouted: | This message has been Routed already. |
Subject: | Re: Compiling for native Windows |
To: | cygwin AT cygwin DOT com |
References: | <E55DAFB039184B68A59ACA51835394A5 AT OwnerPC311012> <566ECF40 DOT 3020000 AT gmail DOT com> <2548A0BAF6DD44E2A632BFA8D0028E9A AT OwnerPC311012> |
From: | Ken Brown <kbrown AT cornell DOT edu> |
Message-ID: | <566F7F0E.7060608@cornell.edu> |
Date: | Mon, 14 Dec 2015 21:46:38 -0500 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <2548A0BAF6DD44E2A632BFA8D0028E9A@OwnerPC311012> |
X-IsSubscribed: | yes |
On 12/14/2015 8:14 PM, sisyphus1 AT optusnet DOT com DOT au wrote: > -----Original Message----- From: Marco Atzeri > Sent: Tuesday, December 15, 2015 1:16 AM > To: cygwin AT cygwin DOT com > Subject: Re: Compiling for native Windows > >> you need to use the cross compiler package >> mingw64-x86_64-gcc-core >> >> /usr/bin/x86_64-w64-mingw32-gcc.exe >> replaces the old "-mno-cygwin" usage > > Thanks - that worked fine with gmp-6.1.0. > > I also had to set some environment variables - eg NM=x86_64-w64-mingw32-nm , > otherwise configure runs /usr/bin/nm and fails. But this is as expected. 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. > I assume that if one wants a 32-bit build, one simply uses the "i686" cygwin > package instead of the "x86_64" one. Yes. And then configure --host=i686-w64-mingw32. Ken -- 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 |