vax4 uses own assembler now
This commit is contained in:
parent
8cd417eeab
commit
3c10a60011
1 changed files with 35 additions and 41 deletions
68
first/first
68
first/first
|
@ -126,13 +126,13 @@ cp ../lib/vax4/descr.src ../lib/vax4/descr
|
||||||
cp ../lib/descr/fe.src ../lib/descr/fe
|
cp ../lib/descr/fe.src ../lib/descr/fe
|
||||||
echo "take some actions according to system used ..."
|
echo "take some actions according to system used ..."
|
||||||
case `ack_sys` in
|
case `ack_sys` in
|
||||||
pdp_*) RMD="vax4"
|
pdp_*) echo "disabling use of ranlib; cannot trust its result"
|
||||||
echo "disabling use of ranlib; cannot trust its result"
|
|
||||||
echo 'echo "no ranlib on this system"; exit 93' > ../bin/ranlib
|
echo 'echo "no ranlib on this system"; exit 93' > ../bin/ranlib
|
||||||
chmod +x ../bin/ranlib
|
chmod +x ../bin/ranlib
|
||||||
|
RMD=""
|
||||||
|
;;
|
||||||
|
*) RMD=""
|
||||||
;;
|
;;
|
||||||
vax*) ;;
|
|
||||||
*) RMD="vax4" ;;
|
|
||||||
esac
|
esac
|
||||||
for i in $RMD
|
for i in $RMD
|
||||||
do
|
do
|
||||||
|
@ -140,7 +140,7 @@ do
|
||||||
echo "disabling use of local assembler and loader for $i"
|
echo "disabling use of local assembler and loader for $i"
|
||||||
if grep '^name as$' descr >/dev/null 2>&1
|
if grep '^name as$' descr >/dev/null 2>&1
|
||||||
then
|
then
|
||||||
ed - descr <<'ABC'
|
ed - descr <<'ABC'
|
||||||
/^name as$/;/^end$/d
|
/^name as$/;/^end$/d
|
||||||
/^name ld$/;/^end$/d
|
/^name ld$/;/^end$/d
|
||||||
w
|
w
|
||||||
|
@ -150,20 +150,38 @@ ABC
|
||||||
)
|
)
|
||||||
done
|
done
|
||||||
case `ack_sys` in
|
case `ack_sys` in
|
||||||
vax_bsd4_2) ( cd ../lib/vax4
|
vax_bsd_4_1a)
|
||||||
|
( cd ../mach/vax4
|
||||||
|
mkdir libsys > /dev/null 2>&1
|
||||||
|
rm -f libsys/*
|
||||||
|
cp libbsd4_1a/* libsys
|
||||||
|
)
|
||||||
|
;;
|
||||||
|
vax_sysV_2)
|
||||||
|
( cd ../lib/vax4
|
||||||
|
ed - descr <<'ABC'
|
||||||
|
/CPP_F/s/$/ -D__USG/
|
||||||
|
w
|
||||||
|
q
|
||||||
|
ABC
|
||||||
|
)
|
||||||
|
( cd ../mach/vax4
|
||||||
|
mkdir libsys > /dev/null 2>&1
|
||||||
|
rm -f libsys/*
|
||||||
|
cp libsysV_2/* libsys
|
||||||
|
)
|
||||||
|
;;
|
||||||
|
*) ( cd ../lib/vax4
|
||||||
ed - descr <<'ABC'
|
ed - descr <<'ABC'
|
||||||
/CPP_F/s/$/ -D__BSD4_2/
|
/CPP_F/s/$/ -D__BSD4_2/
|
||||||
w
|
w
|
||||||
q
|
q
|
||||||
ABC
|
ABC
|
||||||
)
|
)
|
||||||
;;
|
( cd ../mach/vax4
|
||||||
vax_sysV_2) ( cd ../lib/vax4
|
mkdir libsys > /dev/null 2>&1
|
||||||
ed - descr <<'ABC'
|
rm -f libsys/*
|
||||||
/CPP_F/s/$/ -D__USG/
|
cp libbsd4_2/* libsys
|
||||||
w
|
|
||||||
q
|
|
||||||
ABC
|
|
||||||
)
|
)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -221,30 +239,6 @@ else
|
||||||
fi
|
fi
|
||||||
echo "Your default machine to compile for is $ACM"
|
echo "Your default machine to compile for is $ACM"
|
||||||
case `ack_sys` in
|
case `ack_sys` in
|
||||||
vax_bsd4_2)
|
|
||||||
( cd ../mach/vax4
|
|
||||||
echo "Copying mach/vax4/libbsd4_2 to mach/vax4/libsys"
|
|
||||||
mkdir libsys > /dev/null 2>&1
|
|
||||||
rm -f libsys/*
|
|
||||||
cp libbsd4_2/* libsys
|
|
||||||
)
|
|
||||||
;;
|
|
||||||
vax_bsd4_1a)
|
|
||||||
( cd ../mach/vax4
|
|
||||||
echo "Copying mach/vax4/libbsd4_1a to mach/vax4/libsys"
|
|
||||||
mkdir libsys > /dev/null 2>&1
|
|
||||||
rm -f libsys/*
|
|
||||||
cp libbsd4_1a/* libsys
|
|
||||||
)
|
|
||||||
;;
|
|
||||||
vax_sysV_2)
|
|
||||||
( cd ../mach/vax4
|
|
||||||
echo "Copying mach/vax4/libsysV_2 to mach/vax4/libsys"
|
|
||||||
mkdir libsys > /dev/null 2>&1
|
|
||||||
rm -f libsys/*
|
|
||||||
cp libsysV_2/* libsys
|
|
||||||
)
|
|
||||||
;;
|
|
||||||
i386)
|
i386)
|
||||||
( cd ../lib/descr
|
( cd ../lib/descr
|
||||||
ed - fe << ABC
|
ed - fe << ABC
|
||||||
|
|
Loading…
Reference in a new issue