delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/19/18:23:03

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: <3BA91AB1.70607@ece.gatech.edu>
Date: Wed, 19 Sep 2001 18:22:41 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010713
X-Accept-Language: en-us
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: [ANN] dllhelpers-0.2.8 available

I've updated the dllhelpers package at cygutils

http://www.neuro.gatech.edu/users/cwilson/cygutils/V1.1/dll-stuff/

The new version no longer uses the '--enable-auto-image-base' function 
of the linker; it seems to cause problems under cygwin.  Instead, 
DLL-builders should either

   a) don't specifiy any image base -- just let the linker use its 
default of 0x10000000.  Thus, all DLLs will have the same image base, 
and the windows runtime linker will relocate them when an application 
loads them.  However, they won't then conflict with the cygwin1.dll 
(which is absolutely required).  Also, runtime relocation is relatively 
inexpensive on windows.

   b) explicitly specify an image base for every DLL you build (be 
careful!).  -Wl,--image-base=0xXXXXXXXX.

this is explained in the updated documentation within the dllhelpers 
package.

Also, I've added a "c_and_c++" example, with two DLL's -- one C-based 
and one C++based -- which are both used by a single C++ client application.

--Chuck


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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