Date: Mon, 25 Jan 1999 13:47:32 -0500 (EST) From: Michael Callahan X-Sender: mjc AT evelyn DOT smith DOT edu To: Eli Zaretskii 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, 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