delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/11/11:49:31

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <6910a60809110848n7268fd1cy183d12d81def63a4@mail.gmail.com>
Date: Thu, 11 Sep 2008 17:48:25 +0200
From: "Reini Urban" <rurban AT x-ray DOT at>
To: cygwin AT cygwin DOT com
Subject: Re: How to rebase the dll when install perl packages in cpan?
In-Reply-To: <20080911142031.GA2656@tishler.net>
MIME-Version: 1.0
References: <48C91FCB DOT 3000800 AT gmail DOT com> <20080911142031 DOT GA2656 AT tishler DOT net>
X-Google-Sender-Auth: 74a0f01e532b3ed1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

2008/9/11 Jason Tishler:
> Zheng,
>
> On Thu, Sep 11, 2008 at 09:40:27PM +0800, Zheng Li wrote:
>> [snip]
>> So what can I do ? just give up the cpan's test benefits and force it
>> to install the package, which follows by a manual rebase-procedue.
>
> You can use rebaseall's "-T FileList" option to rebase DLLs not
> installed by setup.exe (in addition to the DLLs installed by setup.exe).

... and keep track of your lowest base address before the new DLL
and rebase the new CPAN dll starting with the offset from the latest one.

One could even think of releasing a CPAN::CygwinRebase module for
doing that automatically with every CPAN archlib update.
You won't even need killing bash and use ash for this, so it would
be pretty hidden behind the scenes. Good idea. Thanks!
-- 
Reini Urban
http://phpwiki.org/ http://murbreak.at/

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

- Raw text -


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