[TUHS] Deleted lib1 and lib2 in v6, recoverable?

Warren Toomey wkt at tuhs.org
Sat Dec 29 11:35:27 AEST 2018


On Fri, Dec 28, 2018 at 08:09:00PM -0500, Noel Chiappa wrote:
> Odd. 'run' in /usr/sys on my V6 machine (not that I use that, mind) says:
>   
>   chdir ken
>   cc -c -O *.c
>   ar r ../lib1
>   rm *.o
>   chdir ../dmr
>   cc -c -O *.c
>   ar r ../lib2
>   rm *.o        
> 
> which should regenerate them - sort of.

I just tried it here. I had to do:
	chdir ken; ...
	ar r ../lib1 *.o
	chdir ../dmr; ...
	ar r ../lib2 *.o

to get them to rebuild. Otherwise, I had empty libraries.

Cheers, Warren


More information about the TUHS mailing list