* Re: Reducing size of X libraries, Ultrix 4.2 - How?
[not found] <1992Nov13.181057.18197@unvax.union.edu>
@ 1992-11-17 21:31 ` Marcus J. Ranum AXP
1992-11-18 12:24 ` Simon Leinen
0 siblings, 1 reply; 2+ messages in thread
From: Marcus J. Ranum AXP @ 1992-11-17 21:31 UTC (permalink / raw)
>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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Reducing size of X libraries, Ultrix 4.2 - How?
1992-11-17 21:31 ` Reducing size of X libraries, Ultrix 4.2 - How? Marcus J. Ranum AXP
@ 1992-11-18 12:24 ` Simon Leinen
0 siblings, 0 replies; 2+ messages in thread
From: Simon Leinen @ 1992-11-18 12:24 UTC (permalink / raw)
In article <1992Nov17.213118.25793@decuac.dec.com>
mjr@hussar.dco.dec.com (Marcus J. Ranum AXP) writes:
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.
Small correction: as long as you want to run X on a system without
shared libraries for X (such as Ultrix). Yes, I know shared libraries
are bad, but for the many more or less useful X applications they are
certainly a win.
decstation% ls -l /usr/bin/X11/oclock
-rwxr-xr-x 1 root 475136 Jul 27 18:13 /usr/bin/X11/oclock
sparc% ls -l /usr/bin/X11/oclock
-rwxr-xr-x 1 root 40960 Jan 26 1992 /usr/bin/X11/oclock
(Btw. the first file is stripped, the second not.)
--
Simon.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1992-11-18 12:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1992Nov13.181057.18197@unvax.union.edu>
1992-11-17 21:31 ` Reducing size of X libraries, Ultrix 4.2 - How? Marcus J. Ranum AXP
1992-11-18 12:24 ` Simon Leinen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox