This is the mail archive of the
mailing list for the Cygwin project.
Re: Building for nocygwin
On Mon, Apr 23, 2012 at 7:35 AM, Michel Bardiaux wrote:
> A number of open-source projects (a.o. libav) indicate the use of
> -mnocygwin to build, on cygwin, libraries or executables that do not
> need the cygwin dll Section 6.10 of the FAQ also says so, but also
> states "This section has not yet been updated for the latest net
> release.". And indeed, gcc 4.5.3 just kicks you out with "The
> -mno-cygwin flag has been removed; use a mingw-targeted
> Using gcc-3, or setting it using /etc/alternatives, works but of course
> it is better to use the more recent compiler. Could someone publish the
> appropriate recipe?
Sure, --host=i686-pc-mingw32 or some other appropriate host string
during configure. You'll need to make sure you have the appropriate
files for cross compiling. The -mno-cygwin has been gone for some
months moving into years.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple