home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / ultrix / 6388 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  1.9 KB

  1. Path: sparky!uunet!mcsun!uknet!cf-cm!robert
  2. From: Robert.Evans@cm.cf.ac.uk (Robert Evans)
  3. Newsgroups: comp.unix.ultrix
  4. Subject: Linking time for PHIGS programs
  5. Message-ID: <1992Aug21.103954.10385@cm.cf.ac.uk>
  6. Date: 21 Aug 92 10:39:53 GMT
  7. Sender: news@cm.cf.ac.uk (Network News System)
  8. Organization: University of Wales College of Cardiff, Cardiff, WALES, UK.
  9. Lines: 26
  10.  
  11. We're using DECPHIGS on PEX DECstation 5000/120s in a student teaching lab.  The students
  12. tend to write a PHIGS C program, compile it - find it is incorrect, rewrite it,
  13. compile it again, run it, alter it etc.  The usual program development cycle.  Last
  14. year, these lab sessions were scheduled to be one hour long.  We found that the
  15. students had great difficulty in developing their programs owing to the time the
  16. Ultrix loader spent linking the PHIGS programs.  The PHIGSC library is about 9MB in size
  17. and the X11 library is more than 4MB and other libraries are needed too.   Even the smallest
  18. PHIGS program is about 6MB.
  19.  
  20. In an example I tried, the linker took nearly 4 minutes (239 seconds) to create the runnable
  21. image.  The same program on a Sun SPARC 1 to 5 (yes five) seconds to build into a
  22. dynamically loadable image and 12 seconds to build a static image.  The image on the
  23. DECstation is 6591704 bytes (6448K) and on the SPARC it's 417792 bytes (416K).
  24.  
  25. Can anyone suggest a way of improving the development cycle time?  Is there a faster version
  26. of ld available?  Can the libraries be divided to put commonly-used functions in a smaller
  27. archive?  Why are the DECPHIGS programs so big anyway?
  28.  
  29. We're running in an ATHENA environment, the user's disc space is on a DECserver 5000 accessed
  30. over NFS.
  31.  
  32. Thanks.
  33. -- 
  34.   Robert Evans, Department of Computing Mathematics,
  35.   University of Wales College of Cardiff, Wales, UK.  +44 (0)222 874000 x 5518
  36.   Robert.Evans@cm.cf.ac.uk                      (FAX) +44 (0)222 666182
  37.