delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/07/14/16:16:17

To: mag1007 AT hermes DOT cam DOT ac DOT uk (Martin Granell)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: controlling where go32 puts program
Date: Thu, 14 Jul 1994 13:06:43 PDT
From: "Marty Leisner" <leisner AT sdsp DOT mc DOT xerox DOT com>

> >   I want to recursivesly do makes...
> >
> >   It seems each invocation takes over 100k out of my conventional memory,
> >   so after 3 levels I'm "out of space to exec"
> >
>         Another solution, I don't know how plausible this is, is to modify 
> the make sources. Add in an 'intelligent' parser which looks for the make 
> command in the current line in the makefile, and simply recusrsively calls 
> itself (maybe directly calling the main() function, problems with static 
> variables though). This would not require the operating-system or go32 to 
> hae to worry about swapping. Plus it would be a LOT faster. (No swapping out 
> to disk.)
>         Just my ideas......(It's probably been done, but by who????)
> 
>                         Martin.
> 

It probably is a bad idea to munge the make sources...

But it is a good idea to implement shared text in djgcc -- if you
spawn the same program, the text is already in memory, so use it...




marty
leisner AT sdsp DOT mc DOT xerox DOT com  
Member of the League for Programming Freedom
"I just know I'm a better manager when I have Joe DiMaggio in center field" -- 
Casey Stengel


- Raw text -


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