Compiling for native Windows
sisyphus1@optusnet.com.au
sisyphus1@optusnet.com.au
Tue Dec 15 01:14:00 GMT 2015
-----Original Message-----
From: Marco Atzeri
Sent: Tuesday, December 15, 2015 1:16 AM
To: cygwin@cygwin.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
More information about the Cygwin
mailing list