Gmake 3.59 question

Trevor Paquette paquette at cs-sun-fsa.cpsc.ucalgary.ca
Fri Jan 25 09:46:38 AEST 1991


 When gmake 3.59 must update multiple archive members it does the
following sequence of commands:
   given an archive list (lib(a.o) lib(b.o) lib(c.o) etc..)
   for each member of archive
     does member need to ne updated?
      yes -> compile source file  and 'ar' the new member
   endfor

 This can be VERY slow, especially on ALOT of files and an overloaded
network. There MUST be some way to get gmake to get it to do the
following:

   given an archive list (lib(a.o) lib(b.o) lib(c.o) etc..)
   for each member of archive list
     does member need to be updated?
     yes -> add to list to be updated
   endfor
   compile all new source files
   ar all new members in ONE ar command

  This would save alot of compile time!!

 Is there a way to do this presently? I can't see it..
 No gmake does not understand lib(a.o b.o c.o)

  Trev
-- 
______________________________________/Abandon all hope ye who enter
Trevor Paquette ICBM:51'03"N/114'05"W |    - Gate Keeper of Labryinth [~]    [~]
uunet![utai,alberta]!calgary!paquette |All who enter are abandoned... | |^^^^| |
paquette at cpsc.ucalgary.ca             |    - Survivor of Labryinth    |_|_/\_|_|



More information about the Comp.unix.programmer mailing list