Mail Archives: djgpp/2001/12/16/13:10:23
> 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 -