delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/16/16:18: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
From: <steven DOT obrien2 AT ntlworld DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Rebasing dlls - why it is necessary
Date: Tue, 16 Jul 2002 20:18:18 +0000
MIME-Version: 1.0
Message-Id: <20020716201818.MWDN16050.mta01-svc.ntlworld.com@[10.137.100.61]>

Harold Hunt wrote:

I have a question: Do you think that rebasing the distributed XFree86 DLL's
would have a positive effect on Cygwin/XFree86's performance/load time?  If
so, perhaps I will look into rebasing the dlls that are in 
our packages. 
Otherwise, I don't suppose I need to do anything at all.  :)

Harold,

Do not bother to rebase the Xfree86 dlls. Although giving each dll a unique, non-overlapping base address should in principle reduce the load time of the dll, and hence the 
startup time for exes linked to the dll, this work is best done post-install for cygwin.

The reason is that to support run-time loading of dlls it will effectively be necessary to rebase all cygwin dlls, 
and we cannot know what dlls are installed on a given 
machine, or what image base they use, when building 
packages. I think there is still a plan to incorporate
rebase functionality into setup.exe once a robust rebasing
algorithm has been devised. See the cygwin-apps list 
archives for details.

Steven







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