home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / ultrix / 9234 < prev    next >
Encoding:
Internet Message Format  |  1993-01-10  |  934 b 

  1. Path: sparky!uunet!stanford.edu!apple!TIS.COM!mjr
  2. From: mjr@TIS.COM (Marcus J Ranum)
  3. Newsgroups: comp.unix.ultrix
  4. Subject: Re: Any way to do a faster link??
  5. Message-ID: <9301110245.AA08082@TIS.COM>
  6. Date: 11 Jan 93 02:45:24 GMT
  7. References: <1iqm8b$807@agate.berkeley.edu>
  8. Sender: daemon@Apple.COM
  9. Reply-To: mjr@TIS.COM
  10. Organization: Trusted Information Systems, Inc.
  11. Lines: 19
  12.  
  13. >I need to know if there is any way to speed up compile time on a DECstation
  14. >5000? The bottle neck seems to be the linking portion of the compile cycle,
  15. >especially, if some of the libraries are coming off of NFS.
  16.  
  17.     NFS is the problem here. One gross kludge would be to have your
  18. makefile maintain *copies* of the library on local disk. I have done this
  19. in the past, and while it's *ugly* it works. I.e.:
  20.  
  21.  
  22. LIBS=    libX.a
  23. foo:    foo.o $(LIBS)
  24.     cc -o foo foo.o $(LIBS)
  25.  
  26. libX.a:    /usr/lib/libX.a
  27.     cp /usr/lib/libX.a $@
  28.     ranlib $@
  29.  
  30. clean:
  31.     rm -f foo foo.o $(LIBS)
  32.