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" 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 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: 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 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/