delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/07/10:31:33

Message-Id: <199709071430.AAA05174@rabble.uow.edu.au>
Subject: Re: system() and memory
To: djgpp AT delorie DOT com (DJGPP)
Date: Mon, 8 Sep 1997 00:30:05 +1000 (EST)
From: *** Brett *** <bporter AT rabble DOT uow DOT edu DOT au>
MIME-Version: 1.0

> I have tried to run another program from a djpgg program using system(),
> but MSDOS tells me that the program is too large to the memory (the
> error message is in a very strange language, and I don't know the
> accurate English phrasing). I have no problems using system() to run
> programs compiled with djgpp, or programs my mate has compiled with
> Lahey Fortran90, though they are larger than the program I need to run.
> Only this one old program compiled with an unknown compiler causes
> problems. MSDOS command MEM (invoked with the same system() command)
> says that the largest executable program size should be 550K, and the
> program I try to run is 273K, and still it is too large. Any advice?
> -- 
> Jari Oksanen -- Lahtis, Finland / Luokta, Suopma / Lahti, H_me.
> 
Use spawn command. It frees up _loads_ more memory for your programs. There
are several variations of it - lookup the info files for which is most
suitable.

BTW, the original user of this _did not_ get a personal reply to this
because of his no-spam address. But hopefully they will look it up on the NG.

Brett

-- 
Brett Porter
bporter AT rabble DOT uow DOT edu DOT au

http://www.geocities.com/CollegePark/Union/3596
	Humour, Programming, and more.





- Raw text -


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