home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / ultrix / 8374 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.1 KB

  1. Xref: sparky comp.unix.ultrix:8374 comp.sys.dec:6018 comp.unix.admin:6242
  2. Newsgroups: comp.unix.ultrix,comp.sys.dec,comp.unix.admin
  3. Path: sparky!uunet!think.com!ames!haven.umd.edu!decuac!hussar.dco.dec.com!mjr
  4. From: mjr@hussar.dco.dec.com (Marcus J. Ranum AXP)
  5. Subject: Re: Reducing size of X libraries, Ultrix 4.2 - How?
  6. Message-ID: <1992Nov17.213118.25793@decuac.dec.com>
  7. Keywords: X11R5 Ultrix ar ranlib
  8. Sender: news@decuac.dec.com (USENET News System)
  9. Nntp-Posting-Host: hussar.dco.dec.com
  10. Organization: Digital Equipment Corporation, Washington ULTRIX Resource Center
  11. References: <1992Nov13.181057.18197@unvax.union.edu>
  12. Date: Tue, 17 Nov 1992 21:31:18 GMT
  13. Lines: 11
  14.  
  15. >A few weeks ago, someone posted a message about reducing the size of X
  16. >libraries by eliminating (I think) external symbols. 
  17.  
  18.     It just shrinks the disk space requirements for the library - your
  19. X programs will continue to be, well, X-ish in size, as long as you continue
  20. to run X.
  21.     The trick had to do with the "-x" option to ld. I believe you can
  22. un-ar(1) the library, then run a script to ld -x each .o file to a new one,
  23. and then name them back, then rebuild the library.
  24.  
  25. mjr.
  26.