On 12/28/18 7:35 PM, Warren Toomey wrote:
> I just tried it here. I had to do:
> chdir ken; ...
> ar r ../lib1 *.o
> chdir ../dmr; ...
> ar r ../lib2 *.o
On Fri, Dec 28, 2018 at 08:02:55PM -0600, Will Senn wrote:
I wound up doing:
chdir ken
cc -c -O *.c
ar r ../lib1 main.o
ar r ../lib1 alloc.o
ar r ../lib1 iget.o
ar r ../lib1 prf.o
ar r ../lib1 rdwri.o
ar r ../lib1 slp.o
ar r ../lib1 subr.o
ar r ../lib1 text.o
ar r ../lib1 trap.o
ar r ../lib1 sig.o
ar r ../lib1 sysent.o
ar r ../lib1 clock.o
ar r ../lib1 fio.o
ar r ../lib1 malloc.o
ar r ../lib1 nami.o
ar r ../lib1 pipe.o
ar r ../lib1 sys1.o
ar r ../lib1 sys2.o
ar r ../lib1 sys3.o
ar r ../lib1 sys4.o
rm *.o
chdir ../dmr
cc -c -O *.c
ar r ../lib2 bio.o
ar r ../lib2 tty.o
ar r ../lib2 dc.o
ar r ../lib2 dn.o
ar r ../lib2 dp.o
ar r ../lib2 kl.o
ar r ../lib2 mem.o
ar r ../lib2 pc.o
ar r ../lib2 rf.o
ar r ../lib2 rk.o
ar r ../lib2 tc.o
ar r ../lib2 tm.o
ar r ../lib2 partab.o
ar r ../lib2 rp.o
ar r ../lib2 lp.o
ar r ../lib2 dhdm.o
ar r ../lib2 dh.o
ar r ../lib2 dhfdm.o
ar r ../lib2 sys.o
ar r ../lib2 hp.o
ar r ../lib2 ht.o
ar r ../lib2 hs.o
rm *.o
Then I continued with the system build and it worked and my changes were
there!
Will
Yes, order will be important, I forgot. There's no ranlib in v6 :-)
Cheers, Warren