delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/01/25/06:22:06

Date: Mon, 25 Jan 1999 13:19:02 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Michael Callahan <mjc AT rodagroup DOT com>
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.SGI.3.94.990125030159.10768F-100000@evelyn.smith.edu>
Message-ID: <Pine.SUN.3.91.990125131235.22761B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

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.

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

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.

Thanks for the rest of explanations.

- Raw text -


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