delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/17/10:52:08

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4C938040.3080704@cwilson.fastmail.fm>
Date: Fri, 17 Sep 2010 10:50:40 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: simplifying rebaseall
References: <AANLkTimP2TqucKt075ZyfTOMzEByUEUboBTz5V-SVEwX AT mail DOT gmail DOT com> <AANLkTi=uFBTQkY6BP03PO2+wsBeOVDitF0CNyLBDj-3C AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTi=uFBTQkY6BP03PO2+wsBeOVDitF0CNyLBDj-3C@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

On 9/17/2010 10:39 AM, Al wrote:
> A second thought. I wonder if reabaseall could be improved to run from
> within bash, without the need to close down all running windows. Then
> it could even be included into build scripts to be run after each
> build.

No, because the DLLs used by bash are OFTEN the ones that actually DO
need to be rebased (because they are used by darn near everything, so we
need to ensure that their image base does not conflict with anything
else): libintl, libiconv, libncurses, ...

> Assuming that those DLL which are up and running typically don't need
> to be rebased, couldn't one simply exclude them from being rebased?
> I.e. with on option:
> 
> rebaseall --exclude-loaded

You're missing the point of rebaseALL.  Murphy says that if you don't
rebase dll A, then dll A *will* be the culprit the next time you get
that 'unable to remap' error.

With regards to your earlier .bat file idea...Meh. You shouldn't need to
DO it that often -- certainly not often enough to clutter your start
menu or desktop with a shortcut!

--
Chuck

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

- Raw text -


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