www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/12/27/19:10:27

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Message-ID: <045a01c18f34$10a73730$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Jason Tishler" <jason AT tishler DOT net>
Cc: <cygwin-apps AT sources DOT redhat DOT com>
References: <008101c1819b$021aa860$a300a8c0 AT nhv> <20011212085744 DOT A2400 AT dothill DOT com> <20011218211235 DOT GA2476 AT dothill DOT com> <018101c1880b$affd10a0$0200a8c0 AT lifelesswks> <20011219032813 DOT GG10253 AT redhat DOT com> <20011221125117 DOT GC1792 AT dothill DOT com> <027401c18bae$25318fe0$0200a8c0 AT lifelesswks> <20011227174434 DOT GC2204 AT dothill DOT com>
Subject: Re: rebase for setup.
Date: Fri, 28 Dec 2001 11:10:31 +1100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-OriginalArrivalTime: 28 Dec 2001 00:10:22.0051 (UTC) FILETIME=[0A82F330:01C18F34]

===
----- Original Message -----
From: "Jason Tishler" <jason AT tishler DOT net>
> > Did my rebasing algorithm seem correct to you? If not, lets talk
what it
> > should look like.
>
> Do you mean the following:

Yes.

> On Sat, Dec 08, 2001 at 01:39:52PM +1100, Robert Collins wrote:
> > Actually what I have in mind is
> > * changes to install
> > (pseudo code):
> > if (installing a .dll or .exe)
> >   rebase and store info in /etc/setup
> > * changes to setup
> > if (installing a .dll or .exe)
> >   rebase and store info in /etc/setup
> >
> > rebase:
> > find object size - sz
> >   lookup a gap of sz in the address table in /etc/setup
> > find object dependencies
> >   foreach
> >     if (a cygwin .dll)
> >       rebase this
> >     if (a non-cygwin .dll)
> >       store the base and size info in /etc/setup
>
> If so, then I don't fully grok it -- please try again.  Specifically,
> I don't understand what is install (or how it differs from setup).

install = /bin/install - I'm suggesting that this gets updated as well,
so that make install in python works without needing to run rebase.

> Also, the rebase algorithm seems more complicated than mine (and MS's)
> simplicity one.  So, I must be missing something -- please help me
> understand the issues.

Well as I understand yours it's "rebase EVERYTHING on the system" "x
bytes apart".

Mine is "rebase everything that appears linked" "x bytes apart". The
goal being to avoid rebasing 1000 .dll and .exe's when you run setup and
install fortune.exe :}. That requires persistent storage of the used
address range, thus storing the info in /etc/setup.

loadable modules probably need some thought in this context though.

Rob

- Raw text -


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