adapted for new distribution
This commit is contained in:
parent
7fc73c9cf3
commit
fef0bf1075
2 changed files with 68 additions and 51 deletions
|
@ -131,6 +131,7 @@ em_reg.h Definition of names for register types.
|
||||||
ocm_chan.h Used by the occam run-time system
|
ocm_chan.h Used by the occam run-time system
|
||||||
ocm_parco.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
|
ocm_proc.h Used by the occam run-time system
|
||||||
|
m2_traps.h Used by the Modula-2 run-time system
|
||||||
.TE
|
.TE
|
||||||
.IP "modules"
|
.IP "modules"
|
||||||
.br
|
.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
|
libcc Used to create C run-time system and libraries
|
||||||
libpc Used to create Pascal 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
|
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
|
libsys Sources for system-dependent EM library
|
||||||
test Various tests
|
test Various tests
|
||||||
|
|
||||||
|
@ -206,6 +209,7 @@ mach/proto/cg Current backend sources.
|
||||||
mach/proto/ncg New backend sources.
|
mach/proto/ncg New backend sources.
|
||||||
mach/proto/as Assembler sources.
|
mach/proto/as Assembler sources.
|
||||||
mach/proto/top Target optimizer sources.
|
mach/proto/top Target optimizer sources.
|
||||||
|
mach/proto/fp FLoating point package sources.
|
||||||
mach/proto/libg Makefile for compiling libraries.
|
mach/proto/libg Makefile for compiling libraries.
|
||||||
.TE
|
.TE
|
||||||
.IP "emtest"
|
.IP "emtest"
|
||||||
|
@ -278,6 +282,21 @@ Source of Occam run-time system (in EM or C).
|
||||||
.IP "lang/occam/test"
|
.IP "lang/occam/test"
|
||||||
.br
|
.br
|
||||||
Some Occam programs.
|
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"
|
.IP "util"
|
||||||
.br
|
.br
|
||||||
Contains directories with sources for various utilities
|
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_bsd4_2 VAX11 with BSD4.2 vax4
|
||||||
vax_sysV_2 VAX11 with System V.2 vax4
|
vax_sysV_2 VAX11 with System V.2 vax4
|
||||||
pc_ix IBM PC with PC/IX i86
|
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_unisoft Motorola 68000 with Unisoft UNIX m68k2
|
||||||
m68_pmds Philips PMDS pmds
|
m68_pmds Philips PMDS pmds
|
||||||
m68_sysV_0 68000 with Uniplus UNIX System V.0 mantra
|
m68_sysV_0 68000 with Uniplus UNIX System V.0 mantra
|
||||||
|
@ -386,8 +406,11 @@ ANY Neither of the above m68k2
|
||||||
.TE
|
.TE
|
||||||
.sp 1
|
.sp 1
|
||||||
For some of these, the installation procedure has not been tested, as
|
For some of these, the installation procedure has not been tested, as
|
||||||
we don't have them. However,
|
we don't have them.
|
||||||
the pdp_v7, vax_bsd4_1a, pc_ix, sun3 and m68 systems are known to behave
|
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.
|
reasonably.
|
||||||
The Sun systems should run Release 3.0 or newer.
|
The Sun systems should run Release 3.0 or newer.
|
||||||
For ANY you can use any name you fancy,
|
For ANY you can use any name you fancy,
|
||||||
|
@ -402,11 +425,10 @@ See also the section 8.2.
|
||||||
.IP \-
|
.IP \-
|
||||||
Automatically editing a few description files that tell
|
Automatically editing a few description files that tell
|
||||||
ACK to use your system's assembler.
|
ACK to use your system's assembler.
|
||||||
On both the PDP and the VAX the Kit uses the native assembler and linker.
|
On the VAX the Kit uses the native assembler and linker.
|
||||||
The description files in lib/pdp/descr and
|
The description file lib/vax4/descr has to be altered to prevent
|
||||||
lib/vax4/descr have to be altered to prevent
|
|
||||||
attempts to assemble programs with unsuitable assemblers.
|
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 \-
|
.IP \-
|
||||||
The VAX backend cannot be booted on systems
|
The VAX backend cannot be booted on systems
|
||||||
with a 16-bit address space systems.
|
with a 16-bit address space systems.
|
||||||
|
@ -655,7 +677,7 @@ Commands
|
||||||
The following commands are available in the bin directory after compilation
|
The following commands are available in the bin directory after compilation
|
||||||
of the Kit:
|
of the Kit:
|
||||||
.sp 1
|
.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
|
.br
|
||||||
The names mentioned here can be used to compile Pascal, C, etc... programs.
|
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
|
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
|
Pascal No assembler
|
||||||
Basic
|
Basic
|
||||||
Occam
|
Occam
|
||||||
|
Modula-2
|
||||||
|
|
||||||
vax4 VAX/BSD 4.? 4/4 C * vax4 No assembler
|
vax4 VAX/BSD 4.? 4/4 C * vax4 No assembler
|
||||||
System V.2 Pascal
|
System V.2 Pascal
|
||||||
Basic
|
Basic
|
||||||
Occam
|
Occam
|
||||||
|
Modula-2
|
||||||
|
|
||||||
m68k2 M68000/Unisoft 2/4 C + m68k2
|
m68k2 M68000/Unisoft 2/4 C + m68k2
|
||||||
Pascal
|
Pascal
|
||||||
Basic
|
Basic
|
||||||
Occam
|
Occam
|
||||||
|
Modula-2
|
||||||
|
|
||||||
m68k4 M68000/Unisoft 4/4 C + m68k4
|
m68k4 M68000/Unisoft 4/4 C + m68k4
|
||||||
Pascal m68k2
|
Pascal m68k2
|
||||||
Basic
|
Basic
|
||||||
Occam
|
Occam
|
||||||
|
Modula-2
|
||||||
|
|
||||||
pmds M68000/PMDS 2/4 C + pmds Philips Micro
|
pmds M68000/PMDS 2/4 C + pmds Philips Micro
|
||||||
Pascal m68k2 Devel. System
|
Pascal m68k2 Devel. System
|
||||||
Basic
|
Basic
|
||||||
Occam
|
Occam
|
||||||
|
Modula-2
|
||||||
|
|
||||||
pmds4 M68000/PMDS 4/4 C + pmds4 Philips Micro
|
pmds4 M68000/PMDS 4/4 C + pmds4 Philips Micro
|
||||||
Pascal m68k2 Devel. System
|
Pascal m68k2 Devel. System
|
||||||
Basic m68k4
|
Basic m68k4
|
||||||
Occam
|
Occam
|
||||||
|
Modula-2
|
||||||
|
|
||||||
mantra M68000/SysV.0 4/4 C + mantra
|
mantra M68000/SysV.0 4/4 C + mantra
|
||||||
Pascal m68k2
|
Pascal m68k2
|
||||||
Basic m68k4
|
Basic m68k4
|
||||||
Occam
|
Occam
|
||||||
|
Modula-2
|
||||||
|
|
||||||
m68020 M68020/V/68 4/4 C + m68020
|
m68020 M68020/V/68 4/4 C + m68020
|
||||||
R2V2.1 Pascal
|
R2V2.1 Pascal
|
||||||
Basic
|
Basic
|
||||||
Occam
|
Occam
|
||||||
|
Modula-2
|
||||||
|
|
||||||
sun3 SUN 3 R3.0 4/4 C + sun3
|
sun3 SUN 3 R3.0 4/4 C + sun3
|
||||||
Pascal m68020
|
Pascal m68020
|
||||||
Basic
|
Basic
|
||||||
Occam
|
Occam
|
||||||
|
Modula-2
|
||||||
|
|
||||||
sun2 SUN 2 R3.0 4/4 C + sun2
|
sun2 SUN 2 R3.0 4/4 C + sun2
|
||||||
Pascal m68k4
|
Pascal m68k4
|
||||||
Basic m68k2
|
Basic m68k2
|
||||||
Occam
|
Occam
|
||||||
|
Modula-2
|
||||||
|
|
||||||
i86 IBM PC/IX 2/2 C + i86 IBM PC with PC/IX
|
i86 IBM PC/IX 2/2 C + i86 IBM PC with PC/IX
|
||||||
Pascal Causes kernel crashes
|
Pascal Causes kernel crashes
|
||||||
Basic
|
Basic
|
||||||
Occam
|
Occam
|
||||||
|
Modula-2
|
||||||
|
|
||||||
xenix3 Microsoft Xenix V3 2/2 C + xenix3 IBM AT with Xenix
|
xenix3 Microsoft Xenix V3 2/2 C + xenix3 IBM AT with Xenix
|
||||||
Pascal i86
|
Pascal i86
|
||||||
Basic
|
Basic
|
||||||
Occam
|
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
|
z8000 Zilog 8000 2/2 C z8000 Central Data
|
||||||
Pascal CPU board
|
Pascal CPU board
|
||||||
Basic Uses assembler/loader
|
Basic Uses assembler/loader
|
||||||
Occam
|
Occam
|
||||||
|
Modula-2
|
||||||
|
|
||||||
int22 EM machine 2/2 C * int22 Needs interpreter
|
int22 EM machine 2/2 C * int22 Needs interpreter
|
||||||
Pascal
|
Pascal
|
||||||
Basic
|
Basic
|
||||||
Occam
|
Occam
|
||||||
|
Modula-2
|
||||||
|
|
||||||
int24 EM machine 2/4 C * int24 Needs interpreter
|
int24 EM machine 2/4 C * int24 Needs interpreter
|
||||||
Pascal
|
Pascal
|
||||||
Basic
|
Basic
|
||||||
Occam
|
Occam
|
||||||
|
Modula-2
|
||||||
|
|
||||||
int44 EM machine 4/4 C * int44 Needs interpreter
|
int44 EM machine 4/4 C * int44 Needs interpreter
|
||||||
Pascal
|
Pascal
|
||||||
Basic
|
Basic
|
||||||
Occam
|
Occam
|
||||||
|
Modula-2
|
||||||
|
|
||||||
6500 6502/BBC 2/2 C 6500 Uses assembler/loader
|
6500 6502/BBC 2/2 C 6500 Uses assembler/loader
|
||||||
Pascal
|
Pascal
|
||||||
Basic
|
Basic
|
||||||
Occam
|
Occam
|
||||||
|
Modula-2
|
||||||
|
|
||||||
6800 Bare 6800 6800 Assembler only
|
6800 Bare 6800 6800 Assembler only
|
||||||
|
|
||||||
|
@ -829,16 +880,19 @@ ns Bare NS16032 4/4 C ns
|
||||||
Pascal
|
Pascal
|
||||||
Basic
|
Basic
|
||||||
Occam
|
Occam
|
||||||
|
Modula-2
|
||||||
|
|
||||||
i80 Hermac/z80 2/2 C i80
|
i80 Hermac/z80 2/2 C i80
|
||||||
Pascal
|
Pascal
|
||||||
Basic
|
Basic
|
||||||
Occam
|
Occam
|
||||||
|
Modula-2
|
||||||
|
|
||||||
z80 Hermac/z80 2/2 C z80 \fIi80\fP is faster
|
z80 Hermac/z80 2/2 C z80 \fIi80\fP is faster
|
||||||
Pascal
|
Pascal
|
||||||
Basic
|
Basic
|
||||||
Occam
|
Occam
|
||||||
|
Modula-2
|
||||||
|
|
||||||
s2650 Signetics 2650 s2650 Assembler only
|
s2650 Signetics 2650 s2650 Assembler only
|
||||||
.TE
|
.TE
|
||||||
|
@ -925,7 +979,8 @@ Default machine
|
||||||
.PP
|
.PP
|
||||||
There is one important option in h/local.h.
|
There is one important option in h/local.h.
|
||||||
The utility \fIack\fP uses a default machine name when called
|
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
|
The machine name used for default is determined by the
|
||||||
definition of ACKM in h/local.h.
|
definition of ACKM in h/local.h.
|
||||||
The Kit is distributed with "vax4" as the default machine,
|
The Kit is distributed with "vax4" as the default machine,
|
||||||
|
|
48
first/first
48
first/first
|
@ -60,6 +60,7 @@ vax_bsd4_1a VAX11 with BSD4.1a
|
||||||
vax_bsd4_2 VAX11 with BSD4.2
|
vax_bsd4_2 VAX11 with BSD4.2
|
||||||
vax_sysV_2 VAX11 with System V.2
|
vax_sysV_2 VAX11 with System V.2
|
||||||
pc_ix IBM PC with PC/IX
|
pc_ix IBM PC with PC/IX
|
||||||
|
xenix3 IBM AT running Microsoft Xenix V3.2
|
||||||
m68_unisoft Motorola 68000 with Unisoft UNIX
|
m68_unisoft Motorola 68000 with Unisoft UNIX
|
||||||
sun3 Sun 3 M68020 workstation
|
sun3 Sun 3 M68020 workstation
|
||||||
sun2 Sun 2 M68000 workstation
|
sun2 Sun 2 M68000 workstation
|
||||||
|
@ -73,7 +74,7 @@ system type: "
|
||||||
echo echo "$SYSNAME" >../bin/ack_sys
|
echo echo "$SYSNAME" >../bin/ack_sys
|
||||||
chmod +x ../bin/ack_sys
|
chmod +x ../bin/ack_sys
|
||||||
case `ack_sys` in
|
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 ;;
|
*) echo None of the software especially intended for the named systems will work ;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
|
@ -102,8 +103,6 @@ fi
|
||||||
: 'Prevent the use of the system assembler on for certain systems'
|
: 'Prevent the use of the system assembler on for certain systems'
|
||||||
: 'prevent the use of ranlib on pdp 11s'
|
: 'prevent the use of ranlib on pdp 11s'
|
||||||
case `ack_sys` in
|
case `ack_sys` in
|
||||||
vax_bsd*) RMD=pdp ;;
|
|
||||||
vax_sys*) RMD=pdp ;;
|
|
||||||
pdp_*) RMD="vax4"
|
pdp_*) RMD="vax4"
|
||||||
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
|
||||||
|
@ -115,7 +114,7 @@ pdp_*) RMD="vax4"
|
||||||
exit 13
|
exit 13
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
*) RMD="pdp vax4" ;;
|
*) RMD="vax4" ;;
|
||||||
esac
|
esac
|
||||||
for i in $RMD
|
for i in $RMD
|
||||||
do
|
do
|
||||||
|
@ -152,44 +151,6 @@ ABC
|
||||||
)
|
)
|
||||||
;;
|
;;
|
||||||
esac
|
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'
|
: 'Set the default machine in ../h/local.h'
|
||||||
BM=1
|
BM=1
|
||||||
case `ack_sys` in
|
case `ack_sys` in
|
||||||
|
@ -198,6 +159,7 @@ vax_bsd4_1a) ACM=vax4 ;;
|
||||||
vax_bsd4_2) ACM=vax4 ;;
|
vax_bsd4_2) ACM=vax4 ;;
|
||||||
vax_sysV_2) ACM=vax4 ;;
|
vax_sysV_2) ACM=vax4 ;;
|
||||||
pc_ix) ACM=i86 ; BM=0;;
|
pc_ix) ACM=i86 ; BM=0;;
|
||||||
|
xenix3) ACM=xenix3 ; BM=0;;
|
||||||
sun3) ACM=sun3 ;;
|
sun3) ACM=sun3 ;;
|
||||||
sun2) ACM=sun2 ;;
|
sun2) ACM=sun2 ;;
|
||||||
m68_unisoft) ACM=m68k2 ;;
|
m68_unisoft) ACM=m68k2 ;;
|
||||||
|
@ -264,8 +226,8 @@ ABC
|
||||||
)
|
)
|
||||||
done
|
done
|
||||||
( cd ../modules/src/malloc
|
( cd ../modules/src/malloc
|
||||||
ed - param.h <<ABC
|
|
||||||
cp param.h param.h.orig
|
cp param.h param.h.orig
|
||||||
|
ed - param.h <<ABC
|
||||||
/STORE/s/define/undef/
|
/STORE/s/define/undef/
|
||||||
w
|
w
|
||||||
q
|
q
|
||||||
|
|
Loading…
Add table
Reference in a new issue