X-Recipient: archive-cygwin@delorie.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=v7RSDIzNqFvFzTjE
	8s47o0I5OaUx4EHphRv9AhV3RGpYJ3Id89OGbwPD/b1Y28sp9Xj1CQdzgvkaISPp
	2121u0iBDJIakx2YCZPudXKya7IbKZkB2G1OywOCxKHhm8k+SfsiJtGIYe5oajR1
	RuKnKGc0/0Ti/Y5gTDfnVC5X030=
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=eSSjXwpU7vW6BA6b+cpgzj
	sgCng=; b=P0n6lBDOc6lX1Nu0FiGTRAv8A7Rn035NoURDtDrJNuiCVXlA2fX8Mj
	hvxYSOG2YizmPpRTQfLARt5pWA9Zfv1f51bbDixpEBUggN4x/RW0H6tJr+wwY870
	f36Um69gqAqYbzOrlMrNxdGKrtRC5JIolDiAV5ygli2lKxwNBzYzg=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wm0-f52.google.com
X-Received: by 10.28.234.200 with SMTP id g69mr23476150wmi.97.1450102599976;        Mon, 14 Dec 2015 06:16:39 -0800 (PST)
Subject: Re: Compiling for native Windows
To: cygwin@cygwin.com
References: <E55DAFB039184B68A59ACA51835394A5@OwnerPC311012>
From: Marco Atzeri <marco.atzeri@gmail.com>
Message-ID: <566ECF40.3020000@gmail.com>
Date: Mon, 14 Dec 2015 15:16:32 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
MIME-Version: 1.0
In-Reply-To: <E55DAFB039184B68A59ACA51835394A5@OwnerPC311012>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 14/12/2015 15:06, sisyphus1@optusnet.com.au wrote:
> Hi,
>
> Last time I built gmp on Cygwin for Windows it was using gcc-3.4.5 - and
> was, I think, done as a cross-compilation involving the -mno-cygwin option.
>
> Am I right in thinking that the days of "-mno-cygwin" have now passed ?
> If I want to build (say) gmp on Cygwin for Windows, do I still need to
> do it as a cross-compilation using Cygwin's gcc-4.x.x compiler ? ... or
> is there a way to use Cygwin's mingw-w64 port of gcc instead ?

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

> Cheers,
> Rob

Regards
Marco

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

