Date: Mon, 25 Jan 1999 13:19:02 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Michael Callahan cc: djgpp-workers AT delorie DOT com, "Peter J. Braam" Subject: Re: Coda has TCP/IP and annonymous mmap for DJGPP on W95 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.