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