delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/01/12:33:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Message-ID: <41AE002A.B7FC3BE0@dessent.net>
Date: Wed, 01 Dec 2004 09:32:26 -0800
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Compiling a DLL
References: <4DEA5E615F52DD4F9D9C6C2D70FCE63B01201331 AT esmexc02 DOT emea DOT cpqcorp DOT net>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

"BARTHEL, MATTIAS" wrote:

> What are the procedures for compiling a DLL without using the Cygwin
> DLL?

http://cygwin.com/faq/faq.html#SEC94

In short: if you want to use Cygwin's posix emulation layer then you
will be linking to cygwin1.dll and your program will be GPL[1].  There's
no way to statically compile an app that still uses the emulation layer
but doesn't depend on the DLL.  You can compile a mingw app of course
with the -mno-cygwin switch, but the amount of unix-like functionalty
that's supported is very much a subset of what you get with Cygwin.  If
this is what you want then you need to ask your question on the mingw
list.

Brian

[1] Unless you pay Redhat for their commercial license.

--
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