Several modifications and additions
This commit is contained in:
parent
5fdefde095
commit
58251a16dc
2
.distr
2
.distr
|
@ -7,6 +7,8 @@ bin
|
||||||
doc
|
doc
|
||||||
emtest
|
emtest
|
||||||
etc
|
etc
|
||||||
|
fast
|
||||||
|
fcc
|
||||||
first
|
first
|
||||||
h
|
h
|
||||||
include
|
include
|
||||||
|
|
18
Action
18
Action
|
@ -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
|
||||||
|
|
|
@ -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
23
NEW
|
@ -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
|
||||||
|
|
77
TakeAction
77
TakeAction
|
@ -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=
|
||||||
|
@ -68,37 +73,45 @@ do
|
||||||
x) echo Missing name line; RETC=65 ;;
|
x) echo Missing name line; RETC=65 ;;
|
||||||
*) if test -d $DIR
|
*) if test -d $DIR
|
||||||
then (
|
then (
|
||||||
cd $DIR
|
cd $DIR
|
||||||
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')
|
||||||
'$PAR') ACTION="$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`
|
||||||
fi
|
if [ "$ACTION" = "$x" ]
|
||||||
if eval "{ $ACTION ; } >Out 2>&1 </dev/null"
|
then
|
||||||
then eval echo $SUCC
|
ACTION='echo "No actions performed, No$CMD file present"'
|
||||||
touch NoAction
|
SUCC='$SYS -- skipped'
|
||||||
else RETC=1 ; X=: ; eval echo $FAIL
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
if eval "{ $ACTION ; } >Out 2>&1 </dev/null"
|
||||||
esac
|
then eval echo $SUCC
|
||||||
(echo ------- `pwd`
|
if [ "$SUCC" = '$SYS -- skipped' ]
|
||||||
cat Out
|
then :
|
||||||
$X rm -f Out
|
else echo "$ACTION" > No$CMD 2>/dev/null
|
||||||
) 2>/dev/null 1>&- 1>&3
|
fi
|
||||||
exit $RETC
|
else RETC=1 ; X=: ; eval echo $FAIL
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
(echo ------- `pwd`
|
||||||
|
cat Out
|
||||||
|
$X rm -f Out
|
||||||
|
) 2>/dev/null 1>&- 1>&3
|
||||||
|
exit $RETC
|
||||||
)
|
)
|
||||||
case $? in
|
case $? in
|
||||||
0) ;;
|
0) ;;
|
||||||
|
|
Loading…
Reference in a new issue