delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/05/20/15:08:20

Date: Wed, 20 May 92 20:59:23 +0200
From: Gordon Beaton <gordon AT Minsk DOT DoCS DOT UU DOT SE>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: GCC with DOS
Status: O


Apollo Wong at University of Alberta writes:

>I got the message that saying CPU must be in real mode (not V86) mode
>to run. All other binaries reported similar message. My computer is a
>IBM clone running DOS 5 and Norton NDOS. 

I ran into the same problem a little while ago while installing
djgpp.

Here's what I came up with:

Don't make UMB's available to dos! Like others have already said,
that means no 'noems' switch for your emm driver. However, this is 
only a partial solution if you run NDos (or 4Dos).

It seems that NDos puts the processor into protected mode when 
loading itself high. I think you'll find that if you use an EMM 
driver, even without the 'noems' switch, djgpp will work fine, 
*until* you load NDos that is, after which you'll get the error.

The only solution I could find was to dump the EMM driver altogether.
(That or 4Dos).

/gordon




- Raw text -


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