This is the mail archive of the
mailing list for the Cygwin project.
Re: How to compile without linking cygwin library?
- From: Christopher Faylor <cgf-rcm at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 24 Sep 2003 15:11:05 -0400
- Subject: Re: How to compile without linking cygwin library?
- References: <email@example.com>
- Reply-to: cygwin at cygwin dot com
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.
>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 firstname.lastname@example.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