X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Message-ID: <4C39D3F0.3000505@x-ray.at> Date: Sun, 11 Jul 2010 16:23:44 +0200 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.10) Gecko/20100504 SeaMonkey/2.0.5 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Q: rebaseall/rebaseperl ? References: <4C3249EC DOT 9010404 AT laposte DOT net> <4C32853D DOT 1040605 AT cs DOT umass DOT edu> In-Reply-To: <4C32853D.1040605@cs.umass.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Eliot Moss schrieb: > On 7/5/2010 5:22 PM, Matthias Andree wrote: >> Am 05.07.2010, 23:09 Uhr, schrieb Cyrille Lefevre: > >>> any reasons why rebaseall and rebase perl aren't executed at compile >>> time ? or at packaging time ? It IS done at packaging time on XP, and tested on Win7 At install-time a rebaseall would be preferred, since we packagers do not know how many dlls the client has installed, esp. those which might clash. perlrebase is mainly useful, if a full rebaseall is too large, and/or another perl has to be rebased, which CAN conflict with the default perl. >> Probably because it's not possible to oversee which installation would >> need which libraries later, and because you'd have to have a registry, >> or algorithm to derive base addresses, for each and every potential >> library. Meaning: not manageable with reasonable effort. > > Put another way, the exact addresses and spacing needed vary > with platform and perhaps according to other stuff installed, > so it would be hard to do in advance. It *might* be possible > to do it as part of setup on an individual platform, i.e., > *technically* feasible, but I expect it would be *managerially* > a nightmare, since it is a somewhat complicated thing that > gives people more room to screw up ... Jason explictily listed TODO's in his rebase package README. A setup database to skip already know addresses and rebase new ones into the holes or at the end is TODO. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple