Mail Archives: djgpp/1995/11/29/11:25:24

Date: Wed, 29 Nov 1995 13:53:49 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Magnus Westroth <Magnus DOT Westroth AT software DOT combitech DOT se>
Cc: Non Receipt Notification Requested <djgpp AT sun DOT soe DOT clarkson DOT edu>
Subject: Re: Svar: Re: Q about djgpp and scanning dependencies with cpp

On 29 Nov 1995, Magnus Westroth wrote:

> >DJGPP coexists with windows just fine...   It'll run fine in a dos
> >window...
> I get the following error message when trying to run in a dos window:
> CPU must be in REAL mode (not V86 mode) to run this program without VCPI.
> (If you are using an EMS emulator, make sure that EMS isn't disabled)

The DJGPP FAQ list (available as from the same place you get 
DJGPP) has this to contribute:

6.6   Q: When I run gcc or any other DJGPP program, it says: ``CPU must be
         in REAL mode (not V86 mode) to run this program without VCPI''.
      A: Most probably, you run in Windows DOS box, and you put ``nodpmi''
         into your GO32 environment variable.  DPMI mode is the only way
         to run DJGPP programs under Windows.  It can also be that you
         have an old go32 somewhere along your PATH.

         More generally, this error message is printed when go32 finds the
         CPU in Virtual-8086 (V86) mode, but can't find any services it
         needs to get to protected mode.  Sometimes, removing NOEMS
         parameter from the line in CONFIG.SYS which invokes your memory
         manager, might solve the problem.

If none of the above reasons and solutions help, post you system 
configuration (CONFIG.SYS, AUTOEXEC.BAT and what go32 prints inside and 
outside Windows when you run go32 with no arguments), and you will get 
more help.

- Raw text -

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