delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/26/22:07:17

Date: Tue, 26 Aug 1997 22:06:22 -0400 (EDT)
From: Michael Phelps <morphine AT hops DOT cs DOT jhu DOT edu>
To: Kenneth Loafman <loafman AT gte DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Is Nested DPMI Possible?
In-Reply-To: <5tv80k$7c7$1@gte2.gte.net>
Message-ID: <Pine.GSO.3.96.970826220200.2365A-100000@hops.cs.jhu.edu>
MIME-Version: 1.0

On 26 Aug 1997, Kenneth Loafman wrote:

> Please!
> 
> I've been through all the FAQ's, readme's, etc., and I still cannot find an
> acceptable answer (Yes is the acceptable answer!).
> 
> What I need to do is spawn a program (namely PVCS executables) under a
> Win95 DOS box and be portable to UNIX at the same time.  DJGPP will get me

What's wrong with something like spawnlp(P_WAIT, "myprog", "myprog", 0);
(prototyped in process.h)?  There are a whole family of spawn*()
functions; type "info libc alpha spawn" for full descriptions.

> most of the way with its portability, but I'm stuck on DPMI services.  It
> turns out that all of the PVCS routines use DOS4GW as their extender and
> that is mentioned as a no-no by at least PMODE 1.2.  I've tried GO32,
> CWSDPMI, and PMODE to no avail (all under DJGPP v2).  Is it possible to do
> what I need to do?  What other package do I need (other than a Mickeysoft
> package, of course)?  Did I miss a FAQ?
> 
> ...Kenneth
> 

You don't need any packages above and beyond those normally required for a
DJGPP program to run (such as a DPMI provider).


						---Michael Phelps
						   morphine AT cs DOT jhu DOT edu


                               CH3
                               |
                               N
                             / |
                     ______/   |
                    /      \   CH2
             _____/         \__|__      
           //     \\        /  |  \\     
         //        \\______/___CH2 \\  
          \        /       \       /
           \______/         \_____/
          / ------ \       /      \
        OH           \   /         OH
                       O
 
                   Morphine
               


- Raw text -


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