delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/01/28/17:41:47

Date: Sat, 28 Jan 1995 10:15:09 -0600
To: djgpp AT sun DOT soe DOT clarkson DOT edu
From: blake AT edge DOT ercnet DOT com (Blake McBride)
Subject: DPMI Problems (compiling GNU Emacs)

Hello all,


        I have been attempting to compile GNU Emacs 19.28 using DJGPP.
Since it had been previously ported to DJGCC, I was hoping it would
be easy.  I compiled, linked and built emacs without any problems.
After getting it up, I had some problems.  I spent several hours
trying to figure out what was going on and eventually came to the
conclusion that the DPMI stuff in go32 doesn't work very well.
Here is what I encountered:

1.  Emacs would run fine under DOS without a DPMI server.

2.  If I enable DPMI under DOS (386max) emacs would run fine except when
I shell to DOS.  If I do that, when I exit back to emacs, emacs is an
unsalvagable mess.  Shelling to DOS works fine without DPMI enabled.

3.  If I start Windows and start a full screen DOS box within it, I can 
bring up emacs without a problem (I don't dare shell to DOS though).
However, when I try to bring the full screen DOS box into window size,
my machine crashes!

4.  I also noticed that if I have my machine setup for plain DOS 
without a DPMI server, gcc would hang my system?  Is gcc configured to
require DPMI?

All this leads me to believe that the DJGPP DPMI support is a little
flakey.  Unless, of course, I'm doing something wrong.  If anyone
has any suggestions, I sure would appreciate it!  I would really
like to use emacs unser DOS/Windows and would hate to have to port
emacs to WATCOM (what I currently use to compile a very stable version
18.59 of GNU Emacs which runs under DOS/Windows/NT).

Thanks!

--blake

-- 
Blake McBride				(615) 790-8521  voice
3020 Liberty Hills Drive		(615) 791-7736  fax
Franklin, TN  37064			blake AT edge DOT ercnet DOT com
U.S.A.


- Raw text -


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