From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1020c6,a1e28c4be3b2e27e,start X-Google-Attributes: gid1020c6,public X-Google-Thread: 1164f8,a1e28c4be3b2e27e,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,a1e28c4be3b2e27e,start X-Google-Attributes: gid10b612,public X-Google-ArrivalTime: 1992-11-17 14:43:48 PST 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 >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.