delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/18/14:39:05

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=jR6Uh/xYfdo7pwb68EIZRtEwhURJNfA7EzpA6CJ9DBw
uf4kWxeifGgjg48iXC7P8xliAhM5SOo3fm7gPeGQyaensLhgyLNwfAn1oQr1QcT/
vzJ2rJYVSaQwRpfHru+nMrsp+bxNjzfiEO3n57UBoiUiCX2qjCH2jZi6pnGwi+AI
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=EyEQMLQcuVJW/Z9UJOmDkMuLHCs=; b=hphUAfRkItZxRVrpu
Iz+2+acO4oKi9xoL+aNpf8kKekDCemoZZ1OOp620cJMiXQ/x/9m7yIQyrr4FVyRt
u6DvFi1TbaMTyvXEt2vfD9d8nqwQ7mtvW5pwsCWc3+TF4hKqAAYaayV769At60dZ
e6TDIOFGBAWOl4iBlZ9UUk5Gok=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: etr-usa.com
Message-ID: <53F24806.9030500@etr-usa.com>
Date: Mon, 18 Aug 2014 12:37:58 -0600
From: Warren Young <warren AT etr-usa DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: Cygwin-L <cygwin AT cygwin DOT com>
Subject: Re: cygwin now supports shared libraries?
References: <DUB129-W60CA1A2C80B8F61EDB78D7B0D60 AT phx DOT gbl>
In-Reply-To: <DUB129-W60CA1A2C80B8F61EDB78D7B0D60@phx.gbl>
X-IsSubscribed: yes

On 8/16/2014 05:12, Gery . wrote:
>
> so, Cygwin now supports shared libraries or always did?

Cygwin's binutils could link to DLLs (shared libraries) from the 
beginning, if only because Windows' own APIs are all DLL-based.

I did a fair bit of Googling to try and find out when gcc -shared 
started working, but couldn't find a reference.  I'd guess it was pretty 
early on, since I can't remember a time when Cygwin couldn't create 
DLLs.  (I've been using Cygwin since B18, the first packaged release.)

There have been occasional problems.  For instance, I seem to recall a 
problem where C++ library DLLs failed when thrown exceptions crossed the 
DLL boundary, many years ago.  While that problem existed, the standard 
recommendation was to build affected libraries statically, since they 
wouldn't work right otherwise.  But, that's very much not the same thing 
as "Cygwin cannot create DLLs."

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

- Raw text -


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