Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <42CE4B88.70102@familiehaase.de>
Date: Fri, 08 Jul 2005 11:46:48 +0200
From: "Gerrit P. Haase" <gerrit@familiehaase.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Perl Win32::Shortcut screws up fork
References: <7231C15EAC2F164CA6DC326D97493C8BA1C3FA@exchange35.fed.cclrc.ac.uk> <42CDD3B8.69B6AB98@dessent.net> <20050708011859.GB24841@trixie.casa.cgf.cx> <42CDD9CB.8390A097@dessent.net> <20050708020511.GA1718@trixie.casa.cgf.cx> <42CDE3D4.6030507@byu.net> <20050708035038.GB2123@trixie.casa.cgf.cx>
In-Reply-To: <20050708035038.GB2123@trixie.casa.cgf.cx>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Christopher Faylor wrote:

>>But what was wrong with my idea of making rebaseall a #!/bin/ash script?
> 
> 
> You still couldn't run the script from bash since the dlls would still
> be loaded.  That would mean that you'd have to do something like:
> 
> c:\>ash rebaseall
> 
> (Currently rebaseall won't work as an ash script but the fix is trivial)
> 
> I guess that's better than nothing but I still think that just not
> rebasing the bash dlls is going to result in fewer mailing list
> complaints.
> 
> OTOH, if we had some coordination between the maintainers of DLLs in
> the distribution we could reduce the need for rebase a lot.  I don't
> know if using --enable-auto-image-base would fix every problem but
> I suspect that it might help.


I suggest another simple solution.  Teach rebase to read an INI file if
called without options, this INI includes all options needed for
rebaseall and then after closing all Cygwin processes a simple double
click on rebase from explorer (or calling from a .bat file) would be
sufficient to start it.


Gerrit

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

