delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/07/23:50:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Thu, 7 Jul 2005 23:50:38 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Perl Win32::Shortcut screws up fork
Message-ID: <20050708035038.GB2123@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <7231C15EAC2F164CA6DC326D97493C8BA1C3FA AT exchange35 DOT fed DOT cclrc DOT ac DOT uk> <42CDD3B8 DOT 69B6AB98 AT dessent DOT net> <20050708011859 DOT GB24841 AT trixie DOT casa DOT cgf DOT cx> <42CDD9CB DOT 8390A097 AT dessent DOT net> <20050708020511 DOT GA1718 AT trixie DOT casa DOT cgf DOT cx> <42CDE3D4 DOT 6030507 AT byu DOT net>
Mime-Version: 1.0
In-Reply-To: <42CDE3D4.6030507@byu.net>
User-Agent: Mutt/1.5.8i

On Thu, Jul 07, 2005 at 08:24:20PM -0600, Eric Blake wrote:
>According to Christopher Faylor on 7/7/2005 8:05 PM:
>>>Option B would be to write a C or C++ program to do the job of what
>>>rebaseall currently does.  That's even more work.
>> 
>> I was going to suggest that but it requires that the user had loaded
>> the C compiler which seems like overkill for this.
>
>I think the intent of this suggestion was to replace rebaseall (the shell
>script) with rebaseall.exe (the static executable), not to have rebaseall
>output C source code, compile it, then run it.
>
>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.

cgf

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