delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/21/16:47:29

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
X-Originating-IP: [24.34.177.222]
X-Originating-Email: [mgainty AT hotmail DOT com]
From: "Martin Gainty" <mgainty AT hotmail DOT com>
To: "Lee, Robert C." <rc DOT lee AT ngc DOT com>, <cygwin AT cygwin DOT com>
References: <03AD0BE3A983D311A26400508B6BFB10045D5738 AT XCGCA043>
Subject: Re: library vis export library
Date: Thu, 21 Aug 2003 16:47:35 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Message-ID: <LAW10-OE59goqTxJfgO0000006c@hotmail.com>
X-OriginalArrivalTime: 21 Aug 2003 20:47:18.0726 (UTC) FILETIME=[695C9660:01C36825]

When referencing a dll function you must know its full signature to property
reference it..thus the need for an export specification
when creating a Static Lib *.a you can statically link in the entire library
into the binary and not worry about linker hunting down an exported function
(since it is already bound to the binary)
Hth,
Martin
*Like your name except E should replace the middle C*
----- Original Message -----
From: "Lee, Robert C." <rc DOT lee AT ngc DOT com>
To: <cygwin AT cygwin DOT com>
Sent: Thursday, August 21, 2003 1:40 PM
Subject: library vis export library


> I apologize in advance if this is a stupid question. In the Cygwin User's
> Guide, it shows how to create a dll with gcc with the -shared switch in
much
> the way you create a shareable library, but it also shows how to create a
> export library with gcc. In one case you end up with a dll; in the other,
> you have a dll and a .a file. Why would I use one over the other? And
what's
> the difference?
>
> Thanks,
> Robert
>
> --
> 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/
>
>

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