From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199708200420.VAA06771@icarus.icarus.com> Date: Tue, 19 Aug 1997 21:20:47 +0800 From: Stephen Williams Subject: Re: Urgent: Manipulating large libraries >I've tried manipulating a large library (^17MB) on an old 60MHz Pentium, >working on a SCSI-2 Jaz drive (so the disk is not too slow). A make, >doing lots of ranlib's, takes nearly 30 minutes even if there are no >changes; on an IBM rs/6000 43P (not a particularly fast workstation), it >takes just a few seconds! 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. 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. -- Steve Williams steve@icarus.com steve@picturel.com "The woods are lovely, dark and deep. But I have promises to keep, And lines to code before I sleep, And lines to code before I sleep." -- 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