www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/01/25/13:49:47

Date: Mon, 25 Jan 1999 13:47:32 -0500 (EST)
From: Michael Callahan <mjc AT rodagroup DOT com>
X-Sender: mjc AT evelyn DOT smith DOT edu
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: djgpp-workers AT delorie DOT com, "Peter J. Braam" <braam AT cs DOT cmu DOT edu>
Subject: Re: Coda has TCP/IP and annonymous mmap for DJGPP on W95
In-Reply-To: <Pine.SUN.3.91.990125131235.22761B-100000@is>
Message-ID: <Pine.SGI.3.94.990125134111.13755A-100000@evelyn.smith.edu>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

On Mon, 25 Jan 1999, Eli Zaretskii wrote:
> On Mon, 25 Jan 1999, Michael Callahan wrote:
> 
> > Incidentally, I now vaguely recall that DJGPP has a crt0 and a crt1.  I
> > can't remember which does the DPMI stuff
> 
> Actually, neither.  Most of the guts of allocating DPMI memory for the 
> program code and data and reading the info from .exe into memory is done 
> by the stub loader (stub.asm).  crt0.S is left with only setting up the 
> stack, more or less.

OK, sorry.  This work was done in late spring 1996.  I've forgotten a lot
of the filenames.  I think that my last message should make clear what was
necessary.

> So the above means you needed to change the stub as well, right?  And if
> so, stubify needs to be customized, and the linker needs either a 
> recompile or some custom setup (to take the stub from a non-default 
> place).

As I wrote before, we set up 'mmap-capable' DJGPP as a separate machine
target.  That's enough to have djgpp-gcc pass ld a different set of
options; ld itself didn't need a recompile, IIRC.

> I hope that at least you used the versions of stub and crt0 from v2.02 as 
> the base, since there were some important changes lately in these files.

I don't remember, sorry.  What version was current in May 1996?

I also don't know if CMU has tracked subsequent DJGPP releases or not.

Michael


- Raw text -


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