adapted for new distribution

This commit is contained in:
ceriel 1988-04-19 14:33:58 +00:00
parent 7fc73c9cf3
commit fef0bf1075
2 changed files with 68 additions and 51 deletions

View file

@ -131,6 +131,7 @@ em_reg.h Definition of names for register types.
ocm_chan.h Used by the occam run-time system
ocm_parco.h Used by the occam run-time system
ocm_proc.h Used by the occam run-time system
m2_traps.h Used by the Modula-2 run-time system
.TE
.IP "modules"
.br
@ -191,6 +192,8 @@ libbc Used to create Basic run-time system and libraries
libcc Used to create C run-time system and libraries
libpc Used to create Pascal run-time system and libraries
liboc Used to create Occam run-time system and libraries
libm2 Used to create Modula-2 run-time system and libraries
libfp Used to create floating point library
libsys Sources for system-dependent EM library
test Various tests
@ -206,6 +209,7 @@ mach/proto/cg Current backend sources.
mach/proto/ncg New backend sources.
mach/proto/as Assembler sources.
mach/proto/top Target optimizer sources.
mach/proto/fp FLoating point package sources.
mach/proto/libg Makefile for compiling libraries.
.TE
.IP "emtest"
@ -278,6 +282,21 @@ Source of Occam run-time system (in EM or C).
.IP "lang/occam/test"
.br
Some Occam programs.
.IP "lang/m2"
.br
Modual-2 front-end.
.IP "lang/m2/comp"
.br
The compiler proper.
.IP "lang/m2/libm2"
.br
Source of Modula-2 run-time system (in EM, C and Modula-2).
.IP "lang/m2/m2mm"
.br
Modula-2 makefile generator.
.IP "lang/m2/test"
.br
Some Modula-2 example programs.
.IP "util"
.br
Contains directories with sources for various utilities
@ -377,6 +396,7 @@ vax_bsd4_1a VAX11 with BSD4.1a vax4
vax_bsd4_2 VAX11 with BSD4.2 vax4
vax_sysV_2 VAX11 with System V.2 vax4
pc_ix IBM PC with PC/IX i86
xenix3 IBM AT with Microsoft Xenix V3.2 xenix3
m68_unisoft Motorola 68000 with Unisoft UNIX m68k2
m68_pmds Philips PMDS pmds
m68_sysV_0 68000 with Uniplus UNIX System V.0 mantra
@ -386,8 +406,11 @@ ANY Neither of the above m68k2
.TE
.sp 1
For some of these, the installation procedure has not been tested, as
we don't have them. However,
the pdp_v7, vax_bsd4_1a, pc_ix, sun3 and m68 systems are known to behave
we don't have them.
For others, the installation procedure has only been tested with earlier
distributions, as we don't have those systems anymore.
However,
the pdp_v7, vax_bsd4_1a, sun3 and m68 systems are known to behave
reasonably.
The Sun systems should run Release 3.0 or newer.
For ANY you can use any name you fancy,
@ -402,11 +425,10 @@ See also the section 8.2.
.IP \-
Automatically editing a few description files that tell
ACK to use your system's assembler.
On both the PDP and the VAX the Kit uses the native assembler and linker.
The description files in lib/pdp/descr and
lib/vax4/descr have to be altered to prevent
On the VAX the Kit uses the native assembler and linker.
The description file lib/vax4/descr has to be altered to prevent
attempts to assemble programs with unsuitable assemblers.
The original descr files are copied to descr.orig.
The original descr file is copied to descr.orig.
.IP \-
The VAX backend cannot be booted on systems
with a 16-bit address space systems.
@ -655,7 +677,7 @@ Commands
The following commands are available in the bin directory after compilation
of the Kit:
.sp 1
.IP "\fIack\fP, \fIacc\fP, \fIabc\fP, \fIapc\fP, \fIocm\fP and their links"
.IP "\fIack\fP, \fIacc\fP, \fIabc\fP, \fIapc\fP, \fIocm\fP, \fIm2\fP and their links"
.br
The names mentioned here can be used to compile Pascal, C, etc... programs.
Most of the links can be used to generate code for a particular
@ -738,86 +760,115 @@ pdp PDP/UNIX V7 2/2 C * pdp needs sep. I/D
Pascal No assembler
Basic
Occam
Modula-2
vax4 VAX/BSD 4.? 4/4 C * vax4 No assembler
System V.2 Pascal
Basic
Occam
Modula-2
m68k2 M68000/Unisoft 2/4 C + m68k2
Pascal
Basic
Occam
Modula-2
m68k4 M68000/Unisoft 4/4 C + m68k4
Pascal m68k2
Basic
Occam
Modula-2
pmds M68000/PMDS 2/4 C + pmds Philips Micro
Pascal m68k2 Devel. System
Basic
Occam
Modula-2
pmds4 M68000/PMDS 4/4 C + pmds4 Philips Micro
Pascal m68k2 Devel. System
Basic m68k4
Occam
Modula-2
mantra M68000/SysV.0 4/4 C + mantra
Pascal m68k2
Basic m68k4
Occam
Modula-2
m68020 M68020/V/68 4/4 C + m68020
R2V2.1 Pascal
Basic
Occam
Modula-2
sun3 SUN 3 R3.0 4/4 C + sun3
Pascal m68020
Basic
Occam
Modula-2
sun2 SUN 2 R3.0 4/4 C + sun2
Pascal m68k4
Basic m68k2
Occam
Modula-2
i86 IBM PC/IX 2/2 C + i86 IBM PC with PC/IX
Pascal Causes kernel crashes
Basic
Occam
Modula-2
xenix3 Microsoft Xenix V3 2/2 C + xenix3 IBM AT with Xenix
Pascal i86
Basic
Occam
Modula-2
minix Minix PC 2/2 C + minix IBM PC running Minix
Pascal i86
Basic
Occam
Modula-2
minixST ST Minix 2/4 C + minixST Atari ST running Minix
Pascal m68k2
Basic
Occam
Modula-2
z8000 Zilog 8000 2/2 C z8000 Central Data
Pascal CPU board
Basic Uses assembler/loader
Occam
Modula-2
int22 EM machine 2/2 C * int22 Needs interpreter
Pascal
Basic
Occam
Modula-2
int24 EM machine 2/4 C * int24 Needs interpreter
Pascal
Basic
Occam
Modula-2
int44 EM machine 4/4 C * int44 Needs interpreter
Pascal
Basic
Occam
Modula-2
6500 6502/BBC 2/2 C 6500 Uses assembler/loader
Pascal
Basic
Occam
Modula-2
6800 Bare 6800 6800 Assembler only
@ -829,16 +880,19 @@ ns Bare NS16032 4/4 C ns
Pascal
Basic
Occam
Modula-2
i80 Hermac/z80 2/2 C i80
Pascal
Basic
Occam
Modula-2
z80 Hermac/z80 2/2 C z80 \fIi80\fP is faster
Pascal
Basic
Occam
Modula-2
s2650 Signetics 2650 s2650 Assembler only
.TE
@ -925,7 +979,8 @@ Default machine
.PP
There is one important option in h/local.h.
The utility \fIack\fP uses a default machine name when called
as \fIacc\fP, \fIcc\fP, \fIabc\fP, \fIapc\fP, \fIpc\fP, \fIocm\fP, or \fIack\fP.
as \fIacc\fP, \fIcc\fP, \fIabc\fP, \fIapc\fP, \fIpc\fP, \fIocm\fP,
\fIm2\fP, or \fIack\fP.
The machine name used for default is determined by the
definition of ACKM in h/local.h.
The Kit is distributed with "vax4" as the default machine,

View file

@ -60,6 +60,7 @@ vax_bsd4_1a VAX11 with BSD4.1a
vax_bsd4_2 VAX11 with BSD4.2
vax_sysV_2 VAX11 with System V.2
pc_ix IBM PC with PC/IX
xenix3 IBM AT running Microsoft Xenix V3.2
m68_unisoft Motorola 68000 with Unisoft UNIX
sun3 Sun 3 M68020 workstation
sun2 Sun 2 M68000 workstation
@ -73,7 +74,7 @@ system type: "
echo echo "$SYSNAME" >../bin/ack_sys
chmod +x ../bin/ack_sys
case `ack_sys` in
pdp_v7|vax_bsd4_1a|vax_bsd4_2|vax_sysV_2|pc_ix|m68_unisoft|sun3|sun2|m68_sysV_0) ;;
pdp_v7|vax_bsd4_1a|vax_bsd4_2|vax_sysV_2|pc_ix|m68_unisoft|sun3|sun2|m68_sysV_0|xenix3|m68020) ;;
*) echo None of the software especially intended for the named systems will work ;;
esac
else
@ -102,8 +103,6 @@ fi
: 'Prevent the use of the system assembler on for certain systems'
: 'prevent the use of ranlib on pdp 11s'
case `ack_sys` in
vax_bsd*) RMD=pdp ;;
vax_sys*) RMD=pdp ;;
pdp_*) RMD="vax4"
echo 'echo "no ranlib on this system"; exit 93' > ../bin/ranlib
chmod +x ../bin/ranlib
@ -115,7 +114,7 @@ pdp_*) RMD="vax4"
exit 13
esac
;;
*) RMD="pdp vax4" ;;
*) RMD="vax4" ;;
esac
for i in $RMD
do
@ -152,44 +151,6 @@ ABC
)
;;
esac
case `ack_sys` in
m68_sysV_0)
( cd ../lib/int24
cp descr descr.orig
ed - descr <<'ABC'
/CPP_F/s/$/ -D__USG/
w
q
ABC
)
( cd ../lib/int44
cp descr descr.orig
ed - descr <<'ABC'
/CPP_F/s/$/ -D__USG/
w
q
ABC
)
;;
sun2|sun3)
( cd ../lib/int24
cp descr descr.orig
ed - descr <<'ABC'
/CPP_F/s/$/ -D__BSD4_2/
w
q
ABC
)
( cd ../lib/int44
cp descr descr.orig
ed - descr <<'ABC'
/CPP_F/s/$/ -D__BSD4_2/
w
q
ABC
)
;;
esac
: 'Set the default machine in ../h/local.h'
BM=1
case `ack_sys` in
@ -198,6 +159,7 @@ vax_bsd4_1a) ACM=vax4 ;;
vax_bsd4_2) ACM=vax4 ;;
vax_sysV_2) ACM=vax4 ;;
pc_ix) ACM=i86 ; BM=0;;
xenix3) ACM=xenix3 ; BM=0;;
sun3) ACM=sun3 ;;
sun2) ACM=sun2 ;;
m68_unisoft) ACM=m68k2 ;;
@ -264,8 +226,8 @@ ABC
)
done
( cd ../modules/src/malloc
ed - param.h <<ABC
cp param.h param.h.orig
ed - param.h <<ABC
/STORE/s/define/undef/
w
q