delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/08/18/08:28:10

Date: Wed, 18 Aug 93 12:59 GMT0BST-1
From: Mr S W Thomson <swt AT cix DOT compulink DOT co DOT uk>
Subject: Some problems with go32
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Reply-To: swt AT cix DOT compulink DOT co DOT uk

This is my first attempt to post to a mailing list so I hope this
makes it.

I have been porting GNU make 3.68 to Dos using DJGPP. As I need to
compile with MSC 7 under Dos I need to use the DPMI version. I have come
across a numer of problems.

1. The show stopper is that make will only execute one command. When
   it tries to start a second job go32 exits with the message
      
             "Fatal! disk full writing to swap file".

   This message seems to be independent of the amount of swap space
   available. I have had up to 10MB free space but go32 was only using
   about 400K.

2. I have been unable to pass the environment setting on to a spawned
   process. I have used putenv and this works locally as a call to
   getenv will verify. 

3. system is the only call which will start a new process. It would be
   nice if DJGPP had spawn* functions the same as thos of the emx
   port. Perhaps this would fix the environment problem.

Any fixes or tips on how to fix these problems would be most welcome.
I have not yet recompiled go32. Do I need the borland compiler for
this or will the MS compiler do ?

Stuart.


- Raw text -


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