This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Compiling for native Windows
- From: <sisyphus1 at optusnet dot com dot au>
- To: <cygwin at cygwin dot com>
- Date: Tue, 15 Dec 2015 16:01:46 +1100
- Subject: Re: Compiling for native Windows
- Authentication-results: sourceware.org; auth=none
- References: <E55DAFB039184B68A59ACA51835394A5 at OwnerPC311012> <566ECF40 dot 3020000 at gmail dot com> <2548A0BAF6DD44E2A632BFA8D0028E9A at OwnerPC311012> <566F7F0E dot 7060608 at cornell dot edu>
-----Original Message-----
From: Ken Brown
Sent: Tuesday, December 15, 2015 1:46 PM
To: cygwin@cygwin.com
Subject: Re: Compiling for native Windows
Assuming that gmp supports cross-compiling (which is likely), you can just
use the configure option --host=x86_64-w64-mingw32. This will
automatically select the right gcc, nm, etc.
Thanks Ken. It embarrasses me to admit that I didn't know "--host" would do
that.
It's certainly worth knowing.
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