ranlib and ``ucb''

whp at cbnap.UUCP whp at cbnap.UUCP
Tue Jul 15 05:14:01 AEST 1986


In article <1060 at ttrdc.UUCP> levy at ttrdc.UUCP (Daniel R. Levy) writes:
>In article <4976 at sun.uucp>, guy at sun.uucp (Guy Harris) writes:
>>...  (It's not perfect; if you copy an archive file, you have to do
>>"ar ts <archive> >/dev/null" to reconstruct the table of symbols.  ...
>>	Guy Harris
>
>...  Please clarify?

The only reason to use "ar -ts" on my machine (Sys V 2.0) is after running
strip on an archive library;  we run strip to remove the debugging info
included when compiling with the "-g" option.  As strip does remove the
table of contents, "ar -ts" must be used to restore it.

This may change under newer versions of unix - the mod time on libraries
is probably important with unixs that allow shared libraries (Sys V 3.0??).

W. H. Pollock,
UUCP:	...{ihnp4,cbatt}!cbnap!whp
DELPHI:	WHP
GEnie:	W.POLLOCK

	"The opinions expressed above are ficticious.  Any resemblance
	to the opinions of persons living or dead is purely coincidental."



More information about the Comp.unix.wizards mailing list