This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Building for nocygwin
- From: "Michel Bardiaux" <MBardiaux at mediaxim dot be>
- To: <cygwin at cygwin dot com>
- Date: Mon, 23 Apr 2012 13:35:07 +0200
- Subject: Building for nocygwin
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
cross-compiler.".
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?
TiA,
(s) Michel Bardiaux
--
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