*** empty log message ***

This commit is contained in:
ceriel 1987-02-24 16:07:04 +00:00
parent 3edd0994c6
commit c05eb0a5c7
6 changed files with 26 additions and 13 deletions

View file

@ -10,6 +10,7 @@ ACC=acc
PEM=$d/lib/pc_pem PEM=$d/lib/pc_pem
PEM_OUT=$d/lib/pc_pem.out PEM_OUT=$d/lib/pc_pem.out
MAN=$d/man/em_pem.6
HEAD=$h/em_spec.h $h/em_pseu.h $h/em_mnem.h $h/em_mes.h $h/pc_size.h HEAD=$h/em_spec.h $h/em_pseu.h $h/em_mnem.h $h/em_mes.h $h/pc_size.h
LDFLAG=-i LDFLAG=-i
@ -30,18 +31,22 @@ pem.m: pem.p $(HEAD)
fi fi
cmp: pem cmp: pem
cmp pem $(PEM) -cmp pem $(PEM)
-cmp em_pem.6 $(MAN)
install: pem install: pem
rm -f $(PEM)
cp pem $(PEM) cp pem $(PEM)
rm -f $(MAN)
cp em_pem.6 $(MAN)
distr: distr:
rm -f pem22.[mp] ; ln pem.p pem22.p rm -f pem22.[mp] ; ln pem.p pem22.p
apc -mpdp -c.m -I$h pem22.p ; rm -f pem22.p apc -mpdp -c.m -I$h pem22.p ; rm -f pem22.p
rm -f pem24.[mp] ; ln pem.p pem24.p rm -f pem24.[mp] ; ln pem.p pem24.p
apc -mvax2 -c.m -I$h pem24.p ; rm -f pem24.p apc -mm68k2 -c.m -I$h pem24.p ; rm -f pem24.p
rm -f pem44.[mp] ; ln pem.p pem44.p rm -f pem44.[mp] ; ln pem.p pem44.p
apc -mvax4 -c.m -I$h pem44.p ; rm -f pem44.p apc -mm68k4 -c.m -I$h pem44.p ; rm -f pem44.p
clean: clean:
-rm -f pem pem.out *.[os] *.old -rm -f pem pem.out *.[os] *.old

View file

@ -1,9 +1,9 @@
.TH PC_PEM VI .TH PC_PEM 6ACK
.ad .ad
.SH NAME .SH NAME
pc_pem \- Pascal to EM compiler pc_pem \- Pascal to EM compiler
.SH SYNOPSIS .SH SYNOPSIS
/usr/em/lib/pc_pem compact errors ~em/lib/pc_pem compact errors
.SH DESCRIPTION .SH DESCRIPTION
Pem is a Pascal compiler producing compact EM assembly code. Pem is a Pascal compiler producing compact EM assembly code.
The EM machine is described in [1]. The EM machine is described in [1].
@ -39,13 +39,13 @@ ISO/TC97/SC5-N462, received November 1979.
.IP [4] .IP [4]
J.W.Stevenson "The Amsterdam Compiler Kit Pascal reference manual". J.W.Stevenson "The Amsterdam Compiler Kit Pascal reference manual".
.br .br
(try \fInroff /usr/em/doc/pcref.doc\fP) (try \fInroff ~em/doc/pcref.doc\fP)
.IP [5] .IP [5]
\fIack\fP(I) \fIack\fP(I)
.SH DIAGNOSTICS .SH DIAGNOSTICS
Compilation errors are written to the error file. Compilation errors are written to the error file.
Positive error numbers are used for irrecoverable errors, negative ones for warnings. Positive error numbers are used for irrecoverable errors, negative ones for warnings.
\fIAck\fP searches the file /usr/em/etc/pc_errors to find \fIAck\fP searches the file ~em/etc/pc_errors to find
the corresponding messages. the corresponding messages.
.SH AUTHOR .SH AUTHOR
Johan Stevenson, Vrije Universiteit. Johan Stevenson, Vrije Universiteit.

View file

@ -2,6 +2,7 @@
d=../.. d=../..
l=$d/lib l=$d/lib
h=$d/h h=$d/h
m=$d/man
ASS_PATH=$l/em_ass ASS_PATH=$l/em_ass
SEP_OPT=-i SEP_OPT=-i
@ -14,10 +15,14 @@ clean:
-rm -f ass-i ass-n *.o maktab *.old asstb.c -rm -f ass-i ass-n *.o maktab *.old asstb.c
install : all install : all
rm -f $(ASS_PATH)
cp ass$(SEP_OPT) $(ASS_PATH) cp ass$(SEP_OPT) $(ASS_PATH)
rm -f $m/em_ass.6
cp em_ass.6 $m/em_ass.6
cmp : all cmp : all
cmp ass$(SEP_OPT) $(ASS_PATH) -cmp ass$(SEP_OPT) $(ASS_PATH)
-cmp em_ass.6 $m/em_ass.6
lint: ass00.c ass30.c ass40.c ass50.c ass60.c ass70.c \ lint: ass00.c ass30.c ass40.c ass50.c ass60.c ass70.c \
ass80.c assci.c assda.c assrl.c asstb.c asscm.c ass80.c assci.c assda.c assrl.c asstb.c asscm.c

View file

@ -1,10 +1,10 @@
.\" $Header$ .\" $Header$
.TH EM_ASS VI .TH EM_ASS 6ACK
.ad .ad
.SH NAME .SH NAME
em_ass \- EM assembler/loader em_ass \- EM assembler/loader
.SH SYNOPSIS .SH SYNOPSIS
/usr/em/lib/em_ass [options] argument ... ~em/lib/em_ass [options] argument ...
.SH DESCRIPTION .SH DESCRIPTION
Em_ass assembles and links EM modules. Em_ass assembles and links EM modules.
Arguments may be flags, EM modules or libraries. Arguments may be flags, EM modules or libraries.
@ -48,7 +48,7 @@ Note that it is not possible to do a partial load;
loading starts from compact EM code and produces binary loading starts from compact EM code and produces binary
EM code. No symbol table and no relocation bits are produced. EM code. No symbol table and no relocation bits are produced.
.SH "SEE ALSO" .SH "SEE ALSO"
ack(I), arch(I) ack(1), arch(1)
.PD 0 .PD 0
.IP [1] .IP [1]
A.S. Tanenbaum, Hans van Staveren, Ed Keizer and Johan A.S. Tanenbaum, Hans van Staveren, Ed Keizer and Johan

View file

@ -36,6 +36,7 @@ test: opt testopt
cmp : all cmp : all
-cmp opt $(EMHOME)/lib/em_opt -cmp opt $(EMHOME)/lib/em_opt
-cmp opt2 $(EMHOME)/lib/em_opt2 -cmp opt2 $(EMHOME)/lib/em_opt2
-cmp em_opt.6 $(EMHOME)/man/em_opt.6
install:all install:all
-size opt $(EMHOME)/lib/em_opt -size opt $(EMHOME)/lib/em_opt
@ -44,6 +45,8 @@ install:all
-size opt2 $(EMHOME)/lib/em_opt2 -size opt2 $(EMHOME)/lib/em_opt2
rm -f $(EMHOME)/lib/em_opt2 rm -f $(EMHOME)/lib/em_opt2
cp opt2 $(EMHOME)/lib/em_opt2 cp opt2 $(EMHOME)/lib/em_opt2
rm -f $(EMHOME)/man/em_opt.6
cp em_opt.6 $(EMHOME)/man/em_opt.6
pattern.c: patterns mktab pattern.c: patterns mktab
/lib/cpp patterns | mktab > pattern.c /lib/cpp patterns | mktab > pattern.c

View file

@ -1,10 +1,10 @@
.\" $Header$ .\" $Header$
.TH EM_OPT VI .TH EM_OPT 6ACK
.ad .ad
.SH NAME .SH NAME
em_opt \- EM peephole optimizer em_opt \- EM peephole optimizer
.SH SYNOPSIS .SH SYNOPSIS
/usr/em/lib/em_opt [-Ln] [ argument ] ~em/lib/em_opt [-Ln] [ argument ]
.SH DESCRIPTION .SH DESCRIPTION
Em_opt reads a compact EM-program, argument or standard input, Em_opt reads a compact EM-program, argument or standard input,
and produces another compact EM program on standard output and produces another compact EM program on standard output