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

Date: Fri, 15 Jul 94 05:50:52 JST
From: Stephen Turnbull <turnbull AT shako DOT sk DOT tsukuba DOT ac DOT jp>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: controlling where go32 puts program

   X-Mailer: exmh version 1.4 6/24/94
   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