Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 24 Sep 2003 15:11:05 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: How to compile without linking cygwin library? Message-ID: <20030924191105.GA5933@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Note-from-DJ: This may be spam 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 AT sourceware DOT 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/