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 X-Originating-IP: [24.34.177.222] X-Originating-Email: [mgainty AT hotmail DOT com] From: "Martin Gainty" To: "Lee, Robert C." , References: <03AD0BE3A983D311A26400508B6BFB10045D5738 AT XCGCA043> Subject: Re: library vis export library Date: Thu, 21 Aug 2003 16:47:35 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Message-ID: 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." To: 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/