www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/18/18:28:46

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Question about DJGPP2
Date: Tue, 18 Feb 1997 16:42:42 -0800
Organization: Two pounds of chaos and a pinch of salt
Lines: 31
Message-ID: <330A4C82.79C8@cs.com>
References: <330A03FC DOT 41C6 AT eps DOT ua DOT es>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp108.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

FELIPE PEREZ GALIANA wrote:
> 
> I have recently started programming with an old version of DJGPP
> and I want to upgrade to version 2, but I have a question:
>         Is DJGPP 2 capable of producing .EXE executables that DON'T need
> GO32.EXE??? (the version I'm using right now produces an image or some-
> thing so that you can convert to EXE file using COFF2EXE)

You can find out all the information you'll ever need about the
differences between v2.x and v2.1 of DJGPP by visiting
<http://www.delorie.com/djgpp/v2faq/>.  Here's a quick answer to your
question:

DJGPP v2.x handles memory management in a vastly different manner than
v1.x.  First off, it REQUIRES a DPMI host to be available, unlike v1.x
which was capable of running in real or v86 modes.  The positive side of
this is that if you have an environment which provides DPMI services,
DJGPP executables can run all by themselves.  If you're going to be
running in plain DOS, then you'll need to get a DPMI host - a free one
called 'cwsdpmi' is provided with the DJGPP v2 distribution.  However,
unlike the bloated size of go32.exe, cwsdpmi.exe is a mere 20k.

There have been a lot of other changes as well; v2 is almost an entirely
new compiler.  :)

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I |        fighteer AT cs DOT com          |
| Descent 2: The Infinite Abyss - The greatest Internet game of all |
| time just got better!  This time, you're going all the way down...|
---------------------------------------------------------------------

- Raw text -


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