From: Przemek Klosowski <przemek@rrdjazz.nist.gov>
Subject: Re: Urgent: Manipulating large libraries
Date: Wed, 20 Aug 1997 11:37:39 -0400 [thread overview]
Message-ID: <de1139cca19859cc84046ae4742eaf2b.axp-list@archive.invalid> (raw)
burley@gnu.ai.mit.edu said:
> I'm no expert on this, but why "doing lots of ranlib's"? I believe
> the only purpose to ranlib, on systems where it has any purpose at
> all, is to construct indexes for a library so `ld' can read it
> efficiently.
Steve Williams wrote:
Craig is right. furthermore, watch out for the performance of "ar cr". If the
library is large, you usually get better performance by removing it and
using "ar cq". The latter doesn't have the exponential behavior of the
other.
Ah, so that's why many makefiles do
rm -f libxxx.a
ar rv libxxx.a *.o
:^/
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next reply other threads:[~1997-08-20 15:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-08-20 15:37 Przemek Klosowski [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-08-20 17:12 Urgent: Manipulating large libraries Dale Martin
1997-08-20 3:54 Craig Burley
1997-08-20 2:50 Stephen Williams
[not found] <Pine.LNX.3.96.970819205550.29346A-100000@amasis.trin.cam.ac.uk>
1997-08-19 20:35 ` Tom Browder
1997-08-19 20:36 ` Ben Scott
1997-08-19 20:07 Nikhil Nair
1997-08-19 13:20 Stephen Williams
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox