This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 12/14/2015 8:14 PM, sisyphus1@optusnet.com.au wrote:
-----Original Message----- From: Marco Atzeri Sent: Tuesday, December 15, 2015 1:16 AM To: cygwin@cygwin.com Subject: Re: Compiling for native Windowsyou 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" usageThanks - 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.
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.
I assume that if one wants a 32-bit build, one simply uses the "i686" cygwin package instead of the "x86_64" one.
Yes. And then configure --host=i686-w64-mingw32. Ken -- 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |