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]

Re: Compiling for native Windows


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]