Add original unix v6
This commit is contained in:
@@ -0,0 +1,73 @@
|
||||
chdir ken
|
||||
cc -c -O *.c
|
||||
ar r ../lib1
|
||||
rm *.o
|
||||
|
||||
chdir ../dmr
|
||||
cc -c -O *.c
|
||||
ar r ../lib2
|
||||
rm *.o
|
||||
|
||||
chdir ../conf
|
||||
as m40.s
|
||||
mv a.out m40.o
|
||||
: as m45.s
|
||||
: mv a.out m45.o
|
||||
: cc sysfix.c
|
||||
: mv a.out sysfix
|
||||
cc mkconf.c
|
||||
mv a.out mkconf
|
||||
|
||||
mkconf
|
||||
rk
|
||||
tm
|
||||
tc
|
||||
done
|
||||
|
||||
cc -c c.c
|
||||
as l.s
|
||||
ld -x a.out m40.o c.o ../lib1 ../lib2
|
||||
: as data.s l.s
|
||||
: ld -x -r -d a.out m45.o c.o ../lib1 ../lib2
|
||||
: nm -ug
|
||||
: sysfix a.out x
|
||||
: mv x a.out
|
||||
cmp a.out /rkunix
|
||||
cp a.out /rkunix
|
||||
|
||||
mkconf
|
||||
rp
|
||||
tm
|
||||
tc
|
||||
done
|
||||
|
||||
cc -c c.c
|
||||
as l.s
|
||||
ld -x a.out m40.o c.o ../lib1 ../lib2
|
||||
: as data.s l.s
|
||||
: ld -x -r -d a.out m45.o c.o ../lib1 ../lib2
|
||||
: nm -ug
|
||||
: sysfix a.out x
|
||||
: mv x a.out
|
||||
cmp a.out /rpunix
|
||||
cp a.out /rpunix
|
||||
|
||||
mkconf
|
||||
hp
|
||||
tm
|
||||
tc
|
||||
done
|
||||
|
||||
cc -c c.c
|
||||
as l.s
|
||||
ld -x a.out m40.o c.o ../lib1 ../lib2
|
||||
: as data.s l.s
|
||||
: ld -x -r -d a.out m45.o c.o ../lib1 ../lib2
|
||||
: nm -ug
|
||||
: sysfix a.out x
|
||||
: mv x a.out
|
||||
cmp a.out /hpunix
|
||||
cp a.out /hpunix
|
||||
|
||||
rm mkconf c.c l.s a.out *.o
|
||||
: rm sysfix
|
||||
Reference in New Issue
Block a user