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=HvsGjRdZ6W41ENEW JnkRuShjVPPSMv43xfCKfkAcGJMCgDmW6WVwWNjAM3LyeI+2Ex4QmCQsfaELlR8h KPkZa9UkTagTa7CKqeik80MhEIWHuEBPqnS1mmgtGDZCuC3s6gDBd3bDKDUNv6J5 c8nK0xpMBIfGCFHhW4HvnHE6/1c= 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=kfpHOmwvQfz8DguB5VJt5/ tF3VQ=; b=xbq9tBAkHSaCA9e17MW6BQREnz7A4TRQiJjCzLVxZn3A5cBsUdqBBV osdh1ZwAtOUR8r4grDrgx8hy6crfj/LLaNtDhhKIcIKy8urg9j3qvldHN/IdUe35 m3YjB9+9dRO9G+mUxWKnwLxffvWmV5JcNsmiM32GpokQaFeNz45qE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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: <2548A0BAF6DD44E2A632BFA8D0028E9A@OwnerPC311012> From: To: References: <566ECF40 DOT 3020000 AT gmail DOT com> In-Reply-To: <566ECF40.3020000@gmail.com> Subject: Re: Compiling for native Windows Date: Tue, 15 Dec 2015 12:14:32 +1100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=response Content-Transfer-Encoding: 7bit X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.1 cv=R4L+YolX 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=NuTmNQFPoNfliWn2MqwA:9 a=pILNOxqGKmIA:10 X-IsSubscribed: yes -----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. I assume that if one wants a 32-bit build, one simply uses the "i686" cygwin package instead of the "x86_64" one. Nice !! 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