On 12/14/2015 8:16 AM, Marco Atzeri wrote:
On 14/12/2015 15:06, sisyph...@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
All you have to do is invoke a different gcc.exe? How about for gfortran?
--
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