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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding :in-reply-to; q=dns; s=default; b=j3AblaGg2bgeCQQMMASgnDvPp0IOZB RwOn3y2OopJBUcF/mo6dmAD17Iy9eRf/bv1XLCGlvHyHfqgLcgRPS8dUd2faW6MY Ae3xygs/hyDTPDiR2+hCcaAQVRtKa1gaBNOolwTI9txp/P945+ehbnlJlZgQ1LlZ DW5ci+yTvM54M= 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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding :in-reply-to; s=default; bh=Zk/JnHpC/jzcHWgqb7nrtmAU1B0=; b=n5zu uFkxEUaTMFmMLCoudfvWt+VXVscfQAZU8aoCQKiCTKq0gWA93OAxo19jogU7XsmH /V5Wq1UEwh0O3UrFnOuQz7Os0ucG8rTRf12+JB4a3g6KFIt08P2dqgoM/IPm0Agi gqbz2VRh0ArS6M4+/85RJ1ndR0PkTWOhW3pFadQ= 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=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Charles Russell Subject: Re: Compiling for native Windows Date: Mon, 14 Dec 2015 17:52:27 -0600 Lines: 26 Message-ID: References: <566ECF40 DOT 3020000 AT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 In-Reply-To: <566ECF40.3020000@gmail.com> X-IsSubscribed: yes On 12/14/2015 8:16 AM, Marco Atzeri wrote: > On 14/12/2015 15:06, sisyphus1 AT optusnet DOT com DOT 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 > All you have to do is invoke a different gcc.exe? How about for gfortran? -- 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