Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3D05E3D5.7D72AF08@phekda.freeserve.co.uk> Date: Tue, 11 Jun 2002 12:49:41 +0100 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: unixy sbrk and win2k References: <10206100232 DOT AA17839 AT clio DOT rice DOT edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. Charles Sandmann wrote: > > The following patch to crt0.S seems to have fixed the problem: > > *** crt0.BAK Sun Jun 9 20:14:46 2002 > --- crt0.S Sun Jun 9 20:21:48 2002 > *************** brk_common: > *** 475,478 **** > --- 475,479 ---- > movw $0x0900, %ax /* disable interrupts */ > int $0x31 > + cli > pushl %eax [snip] > Any comments? We ought to try and build something substantial (like > emacs) with this fix above to crt0 and see if there is joy in W2K land > again. I don't have Win2k, but FWIW I can't build Emacs with this patch on Windows NT 4+SP5 running under VMware 3.1.1. I reverted Laurynas's DS alias patches, re-enabled Unixy sbrk in src/msdos.c in the Emacs directory, recompiled libc and then ran 'make install' in the Emacs directory. I got a segfault, when temacs was trying to dump. So it seems to me that we need a fix for the DS alias problem, for an Emacs build with Unixy sbrk to work under Windows NT 4. Currently the easiest way to get the Emacs build to work under Windows NT 4 is to disable Unixy sbrk in src/msdos.c. Bye, Rich =] -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]