This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Compiling for native Windows
- From: Marco Atzeri <marco dot atzeri at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 14 Dec 2015 15:16:32 +0100
- Subject: Re: Compiling for native Windows
- Authentication-results: sourceware.org; auth=none
- References: <E55DAFB039184B68A59ACA51835394A5 at OwnerPC311012>
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