This is the mail archive of the
mailing list for the Cygwin project.
Re: g++ -mno-cygwin flag not recognized
- From: René Berber <rene dot berber at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 12 May 2017 22:17:26 -0500
- Subject: Re: g++ -mno-cygwin flag not recognized
- Authentication-results: sourceware.org; auth=none
- References: <CAA+u5pjehMD_dK6aZXyYWuf3rBA9tbLE6oqXrbtU9vxsHzaG_g@mail.gmail.com>
- Reply-to: Do not reply <rene dot berber at gmail dot com>
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