Mail Archives: djgpp/1999/06/14/12:27:25
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 -