Several modifications and additions

This commit is contained in:
ceriel 1991-11-25 16:54:25 +00:00
parent 5fdefde095
commit 58251a16dc
5 changed files with 80 additions and 45 deletions

2
.distr
View file

@ -7,6 +7,8 @@ bin
doc doc
emtest emtest
etc etc
fast
fcc
first first
h h
include include

18
Action
View file

@ -1,9 +1,12 @@
name "System definition" name "System definition"
dir first dir first
action ack_sys action ack_sys
failure "You have to run the shell script first in the directory first" failure "You have to run the shell script first/first"
fatal fatal
end end
name "Manual pages"
dir man
end
! name "EM definition" ! name "EM definition"
! dir etc ! dir etc
! end ! end
@ -15,6 +18,7 @@ dir util/cmisc
end end
name "Flex lexical analyzer generator" name "Flex lexical analyzer generator"
dir util/flex dir util/flex
action "make firstinstall && make clean"
end end
name "Yacc parser generator" name "Yacc parser generator"
dir util/byacc dir util/byacc
@ -25,7 +29,7 @@ indir
end end
name "LL(1) Parser generator" name "LL(1) Parser generator"
dir util/LLgen dir util/LLgen
action "make firstinstall" action "make firstinstall && make clean"
end end
name "C preprocessor" name "C preprocessor"
dir util/cpp dir util/cpp
@ -249,3 +253,13 @@ name "Motorola 68000 interpreters"
system "m68*|sun*" system "m68*|sun*"
dir mach/mantra/int dir mach/mantra/int
end end
name "Fast compilers"
system "m68020|sun3|i386|vax*"
dir fast
indir
end
name "Fast cc-compatible C compiler"
system "sun3|vax*"
dir fcc
indir
end

View file

@ -1,7 +1,8 @@
/* /*
* A M S T E R D A M C O M P I L E R K I T * A M S T E R D A M C O M P I L E R K I T
* *
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. * Copyright (c) 1987, 1991 by the Vrije Universiteit, Amsterdam,
* The Netherlands.
* *
* Permission to use, sell, duplicate or disclose this software must be * Permission to use, sell, duplicate or disclose this software must be
* obtained in writing. Requests for such permissions may be sent to * obtained in writing. Requests for such permissions may be sent to
@ -9,7 +10,7 @@
* Dr. Andrew S. Tanenbaum * Dr. Andrew S. Tanenbaum
* Wiskundig Seminarium * Wiskundig Seminarium
* Vrije Universiteit * Vrije Universiteit
* De Boelelaan 1081 * De Boelelaan 1081a
* 1081 HV Amsterdam * 1081 HV Amsterdam
* The Netherlands * The Netherlands
* *

23
NEW
View file

@ -7,16 +7,21 @@ The major additions are:
- a LINT C program checker, both non-ansi and ansi - a LINT C program checker, both non-ansi and ansi
- an Intel 80386 back-end - an Intel 80386 back-end
- a SPARC code expander - a SPARC code expander
- a source level debugger for Pascal, Modula-2, and ANSI C - a source level debugger for Pascal, Modula-2, C, and ANSI C
- an Acorn Archimedes back-end - an Acorn Archimedes back-end
- code-expanders for VAX, Intel 80386 and Motorola M68020 processors, - code-expanders for VAX, Intel 80386 and Motorola M68020 processors,
allowing the creation of very fast compilers. and very fast Pascal, Modula-2, ANSI C, and C compilers constructed
using these code expanders
- a cc-compatible very fast C compiler for SUN-3 and VAX.
Ceriel J.H. Jacobs Also added, but not part of the Kit proper are
Dept. of Math. and Computer Science - flex: a lexical analyzer generator
Vrije Universiteit - byacc: yacc-clone by UCB
De Boelelaan 1081a - f2c: a Fortran to C compiler by AT&T.
1081 HV Amsterdam
The Netherlands
(Email: ceriel@cs.vu.nl) See the ACK installation manual for their copyright notices.
--
Ceriel Jacobs, Dept. of Mathematics and Computer Science, Vrije Universiteit,
De Boelelaan 1081a, 1081 HV Amsterdam, The Netherlands
Email: ceriel@cs.vu.nl Fax: +31 20 6427705

View file

@ -15,7 +15,12 @@ fi
case $0 in case $0 in
/*) THISFILE=$0 /*) THISFILE=$0
;; ;;
*) THISFILE=`pwd`/$0 *) if [ -f $0 ]
then
THISFILE=`pwd`/$0
else
THISFILE=$0
fi
;; ;;
esac esac
SYS= SYS=
@ -72,24 +77,32 @@ do
X= X=
case $ATYPE in case $ATYPE in
indir) indir)
if sh $THISFILE "$PAR" $ACTION if $THISFILE "$PAR" $ACTION
then eval echo $SUCC then eval echo $SUCC
touch NoAction
else RETC=2 ; eval echo $FAIL else RETC=2 ; eval echo $FAIL
fi ;; fi ;;
*) *)
case "$ACTION" in case "$ACTION" in
'$PAR') ACTION="$PAR" '$PAR')
ACTION="$PAR"
;; ;;
*) ;; *) ;;
esac esac
if [ -f NoAction ] if [ -f No$CMD ]
then then
ACTION='echo "No actions performed, NoAction file present"' x=`cat No$CMD`
if [ "$ACTION" = "$x" ]
then
ACTION='echo "No actions performed, No$CMD file present"'
SUCC='$SYS -- skipped'
fi
fi fi
if eval "{ $ACTION ; } >Out 2>&1 </dev/null" if eval "{ $ACTION ; } >Out 2>&1 </dev/null"
then eval echo $SUCC then eval echo $SUCC
touch NoAction if [ "$SUCC" = '$SYS -- skipped' ]
then :
else echo "$ACTION" > No$CMD 2>/dev/null
fi
else RETC=1 ; X=: ; eval echo $FAIL else RETC=1 ; X=: ; eval echo $FAIL
fi fi
;; ;;