This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]