Mail Archives: djgpp/1997/12/13/18:03:26
rilic AT wwa DOT com wrote:
>
> Hello,
>
> I've been running a djgpp compiled program from a dos prompt from
> within Win3.11, and I've noticed it is running at half power (16-bit)
That is incorrect. All DJGPP programs are 32-bit programs. What makes
you think your DJGPP-compiled program is 16-bits?
> on my cpu. I came across some info which suggested using a dos
> extender "dos4wg.exe" to allow the program to run at 32-bit. I found
DOS4GW is a Watcom extender for Watcom programs (though I'm sure any
program with the proper interface can use it). DJGPP uses DPMI to
provide 32-bit services to its programs, and does so transparently to
the program; meaning that the programmer doesn't have to do anything
special to use it. The generated code does it automatically when it's
necessary at all. Windows 3.1 has a DPMI server built into the system
already, so you don't need to do anything if running DJGPP-compiled
programs in a DOS box under Win 3.1 (or Win95 if you decide to go that
route). If you run from straight DOS, you'll need a DMPI server
(CWSDPMI is the DJGPP default standard, and is free for the taking).
> one html file: "http://www.mygale.org/05/poulainl/gcc4ms_us.htm" on
> the web, but just my luck the one sentence describing its usage is
> corrupted. Does anyone know how use this (dos4wg.exe)? Or maybe
> point me to some documentation on. All help greatly appreciated.
You don't need it, and DJGPP won't use it.
- Raw text -