X-Recipient: archive-cygwin@delorie.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@cygwin.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.3000800@gmail.com> <20080911142031.GA2656@tishler.net> X-Google-Sender-Auth: 74a0f01e532b3ed1 X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.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/