[comp.sys.sgi] ranlib is not needed in System V

davea@quasar.SGI.COM (David B. Anderson) (03/16/89)

In article <20:doelz@urz.unibas.ch> doelz@urz.unibas.ch (Reinhard Doelz) writes:
[lines relating to the real issue deleted]
>specific stuff (There are some crazy IRIX problems - e.g., no ranlib - but I 

System V ar has ranlib built in - selected with option s.  There is no
separate ranlib program.  

In our version of ar options d, m, r, and u imply option s.

Having options dmru imply option s means that doing
	ar cr x.a   x.o 
	ar cr x.a   y.o    
	...
is *very slow*, since the symbol table gets rebuilt again and again.
	ar crs x.a x.o y.o    ...
is much faster.  Explicitly showing option s makes the above line compatible
with standard System V.

Regards,
[ David B. Anderson            Silicon Graphics      (415) 964-1459 x3060 ]
[ USENET: {decwrl!,hplabs!sun!}sgi!davea          Internet: davea@sgi.com ]

``I ca'n't believe *that*!'' said Alice.

``Ca'n't you?'' the Queen said in a pitying tone.  ``Try again: draw a long
breath, and shut your eyes.''
                                      Through the Looking-Glass