delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/24/15:22:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <cgf-rcm AT cygwin DOT com>
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: <bkso7h$225$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <bkso7h$225$1@sea.gmane.org>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019