www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/12/16/13:10:23

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Sun, 16 Dec 2001 20:06:04 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Cody" <cody1 AT ktsnet DOT com>
Message-Id: <5137-Sun16Dec2001200603+0200-eliz@is.elta.co.il>
X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <3c1cdc2c@leia.ktsnet.com> (cody1@ktsnet.com)
Subject: Re: DOS extender? question
References: <3c1cdc2c AT leia DOT ktsnet DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Cody" <cody1 AT ktsnet DOT com>
> Newsgroups: comp.os.msdos.djgpp
> Date: Sun, 16 Dec 2001 11:28:28 -0600
> 
> If I compile a program w/ djgpp and try to run it on another computer in
> Windows, will it by default use the Windows DOS extender if I don't have
> another dos extender such as go32-v2 in the directory of the
> program?

go32-v2 is not a DOS extender.  Moreover, most DJGPP programs never
use go32-v2 and don't need it to run.

DJGPP programs need a DPMI server, not a DOS extender.  Windows has a
DPMI server built into it; if you run on plain DOS (not a Windows DOS
box), you will need a separate DPMI server such as CWSDPMI.

So, on Windows, DJGPP programs don't need anything except Windows
itself.  On DOS, you need to put cwsdpmi.exe either in the same
directory as the DJGPP program you want to run, or somewhere on your
PATH.

In any case, forget about go32-v2, it's not a part of this equation.

> More
> importantly, if they run the program under DOS w/ a dos extender in the
> current directory, will it run properly?  How do I fix this w/o making them
> have a dos extender in the current directory?

If by ``dos extender'' you mean the DPMI server, such as CWSDPMI,
then the answer is above.  If you mean something else, please explain
what that is.

- Raw text -


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