delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/14/12:27:25

Date: Mon, 14 Jun 1999 19:23:31 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: George Hicken <bane_462051 AT yahoo DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: pmode, and stuff
In-Reply-To: <7k319l$p4s$1@nnrp1.deja.com>
Message-ID: <Pine.SUN.3.91.990614192040.29522B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 14 Jun 1999, George Hicken wrote:

> I am wondering if there are any flags for the djgpp compiler that
> allows it to produce code that will run under dos without needing to
> use DPMI.

You can't.  The library functions which your program is linked with all 
require DPMI services to call DOS and BIOS for such services as file I/O, 
getting time from the system, memory management, launching other 
programs, etc.  DJGPP v2 cannot work without DPMI.

You could use v1.x, I suppose, but that would get you in a different kind 
of trouble (and is also unsupported).

- Raw text -


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