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




-----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


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