delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/07/19:30:28

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem with DJGPP Compiler
Date: Sun, 07 Jun 1998 19:25:19 -0400
Organization: Two pounds of chaos and a pinch of salt.
Lines: 39
Message-ID: <357B215F.FD8E1EF4@cs.com>
References: <1998060721144900 DOT RAA08549 AT ladder01 DOT news DOT aol DOT com>
NNTP-Posting-Host: ppp125.cs.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

ClarksScr wrote:
> 
> I'm new to the DJGPP Compiler and am having trouble trying to get it to
> compile. When I try to compile an example file that I got from a website, It'll
> state this:
> 
> cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC__MINOR__=7 -Dunix -Di386 -DGO32
> -DMS DOS -D__unix -D__i386 -D__GO32 -D__MSDOS -D__unix__ -D__i386__ -D__GO32__
> -D__MSDOS__  -Asystem(unix) -Asystem(msdos) -Amachine(i386) -vesa.c
> C:\DOS\ccbaaaaa
> 16-bit DPMI unsupported
> 
> I have a Pentium 133 processor. OS version is DOS 6.2 I have Windows 3.1 but am
> not in windows. What is the problem with DMPI? How can I get the DMPI into
> 32-bit? Can anyone tell me?

The only reason you might be getting an error message like that is if an
executable from some other compiler is getting run instead of one of the
core DJGPP compiler programs.  The most common cause is if there's a
'make.exe' somewhere in your PATH before the DJGPP 'make.exe'.

16-bit DPMI is used by some older compilers like Borland in order to
maintain backwards compatibility with 80286 systems.  Since DJGPP
requires 32-bit DPMI, it can only run on 80386 or higher CPUs. 
Unfortunately, the current DPMI standard does not allow mixing of 16-bit
and 32-bit modes simultaneously, so you _cannot_ spawn programs of one
type from programs of the other.  There is no solution to this problem.

Check your PATH to see where the conflict might be.  I recommend putting
the DJGPP 'bin' directory in the PATH before the 'bin' directories of
any other compilers that may exist on your system.

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | "Waking a person unnecessarily       |
|       aka Fighteer I       | should not be considered a capital   |
|   mailto:fighteer AT cs DOT com   | crime.  For a first offense, that    |
| http://www.cs.com/fighteer | is."            - Lazarus Long       |
---------------------------------------------------------------------

- Raw text -


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