This is the mail archive of the cygwin@cygwin.com 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]

Re: How to compile without linking cygwin library?


On Wed, Sep 24, 2003 at 08:42:27PM +0200, Krzysztof Duleba wrote:
>A discussion about different compilers currently takes place on polish
>c/c++ newsgroup. One person mentioned that code compiled with MinGW gcc
>don't have to be published under GPL license, but Cygwin gcc automatically
>links cygwin library so the binary file can be distributed only under GPL.

Correct.

>Is it possible to make gcc work in the mode like in MinGW, where cygwin
>library isn't present?

Yes.  Use -mno-cygwin which is roughly the same thing as mingw.

This subject has been discussed to death.  Please check the mailing list
archives if you are interested in further details.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to aaaspam@sourceware.org
and be permanently blocked from mailing lists at sources.redhat.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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