www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/16/13:30:26

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20001016172353.9450.qmail@web114.yahoomail.com>
Date: Mon, 16 Oct 2000 10:23:53 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Subject: Re: static linking in dll's
To: Tim Reed <timr AT viaworks DOT com>
Cc: cygwin AT sources DOT redhat DOT com
MIME-Version: 1.0

--- Tim Reed <timr AT viaworks DOT com> wrote:
> If that is the case, what is the purpose of libcrtdll.a and dllcrt1.o in
> the lib directory of the mingw package? I would think that you'd be able
> to link to these libraries statically.
> 

The libcrtdll.a is the static import libraries which resolve the address of the
function within the crtdll.  This is not the same as statically linking the
functions of the dll with your executable.  The dllcrt1.o is used to initialize
the dll and to provide a default entry point for the dll.  If you wish to use
those all you need is -mno-cygwin in your compilations and linking.

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd AT yahoo DOT com

---         <http://earniesystems.safeshopper.com>         ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
---   Minimalist GNU for Windows <http://www.mingw.org/>   ---

__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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