Compiling for native Windows
Marco Atzeri
marco.atzeri@gmail.com
Mon Dec 14 14:16:00 GMT 2015
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
More information about the Cygwin
mailing list