delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/13/18:03:26

From: "Tony O'Bryan" <aho450s AT nic DOT smsu DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: dos4wg
Date: Sat, 13 Dec 1997 08:22:52 -0600
Organization: Southwest Missouri State University
Lines: 31
Message-ID: <34929A3C.1F18@nic.smsu.edu>
References: <34922580 DOT 14534874 AT news DOT wwa DOT com>
Reply-To: aho450s AT nic DOT smsu DOT edu
NNTP-Posting-Host: sara.a28.smsu.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


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