www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/20/09:35:47

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Make and 16 bit apps (and Emacs)
Date: Fri, 20 Sep 1996 08:08:50 -0700
Organization: Three pounds of chaos and a pinch of salt
Lines: 37
Message-ID: <3242B382.4B55@cs.com>
References: <Pine DOT GSO DOT 3 DOT 95 DOT 960920090103 DOT 328A-100000 AT hercules DOT kom DOT auc DOT dk>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp211.cs.com
Mime-Version: 1.0
To: Frank Frederiksen <ff AT kom DOT auc DOT dk>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Frank Frederiksen wrote:
> 
> Hi there,
> 
> I have a problem regarding make and 16 bit applications:
> 
> I am writing a program for a DSP and the compiler is a 16 bit one
> (actually it is GCC), and when I try to compile using a makefile I get a
> "16 bit DPMI not supported" message. To overcome this problem, I found an
> old make utility called abmake, which can do the compilation. However,
> when using it with emacs 19.34, which I have just installed it bombs
> emacs.

Your problem is simply a basic incompatibility in the DPMI spec.  You
cannot mix 16- and 32-bit DPMI applications under the same host, period.
It's just not possible.  The only solution to your problem that I can
think of is to find a real-mode DOS port of make (like Borland Make)
and use it for your compilation instead.

> When I say bombs emacs, I mean that I am able to load my .c file and when
> I do "M-x compile RET abmake -f makefile.g21 -i RET" the machine waits for
> a few seconds and then it do a cold reset (RAM test etc.).

I don't know why that particular command line bombs emacs, unless it's
something to do with the way abmake handles memory.

> If you would like, I could post the contents of my autoexec.bat and
> config.sys and 'set>env.dat'

Probably won't help, but go ahead. :)

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I |        fighteer AT cs DOT com          |
| Proud owner of what might one   |   http://www.cs.com/fighteer    |
| day be a spectacular MUD...     | Plan: To make Bill Gates suffer |
---------------------------------------------------------------------

- Raw text -


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