On 13 May 2017 at 11:17, René Berber <rene.ber...@gmail.com> wrote: > 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. > -- > R. Berber > > > -- > 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 >
Got it. Thanks René. Cheers. -- 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