Re: g++ -mno-cygwin flag not recognized
- Date: Fri, 12 May 2017 22:17:26 -0500
- From: René Berber <rene.berber@xxxxxxxxx>
- Subject: Re: g++ -mno-cygwin flag not recognized
On 5/12/2017 10:03 PM, Allan C. wrote:
> I am trying to build a win32 project with gcc 5.4 with the flag
> -mno-cygwin but the flag is not recognized. Is there an approach I
> could release an exe without bundling cygwin's dll?
That option has been deprecated for many years.
What you have to do is install one of the cross-compilers (32-bit, or
64-bit, or both), and cross compile the project.
Cross compiling can be as easy as defining CC as the cross-compiler, and
as hard as having to build all the dependencies and make sure all the
right, cross-compiles libraries, are the only ones used.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple