From 4e987026148fe65c323afbc93cd560c07bf06b3f Mon Sep 17 00:00:00 2001 From: Yale AI Dept Date: Wed, 14 Jul 1993 13:08:00 -0500 Subject: Import to github. --- com/akcl/README | 39 +++++++++++++++++++++++++++++++++++++++ com/akcl/build-prelude | 35 +++++++++++++++++++++++++++++++++++ com/akcl/clean | 4 ++++ com/akcl/compile | 11 +++++++++++ com/akcl/savesys | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 135 insertions(+) create mode 100644 com/akcl/README create mode 100755 com/akcl/build-prelude create mode 100755 com/akcl/clean create mode 100755 com/akcl/compile create mode 100755 com/akcl/savesys (limited to 'com/akcl') diff --git a/com/akcl/README b/com/akcl/README new file mode 100644 index 0000000..1e997d5 --- /dev/null +++ b/com/akcl/README @@ -0,0 +1,39 @@ +This directory contains command scripts used for building Yale Haskell +from the source distribution under AKCL. We have been using +AKCL version 1.615 on a Sparc, but we don't expect that there would +be difficulties in building with AKCL on other platforms. + +Developers need to source haskell-development instead of haskell-setup +in the .cshrc file. + +To rebuild the system: + +* You need to define environment variables Y2 and AKCL to point to the + appropriate pathnames. See the haskell-development script for details. + +* Make sure that the environment variable PRELUDEBIN (in the + haskell-setup script) points to $PRELUDE/akcl. + +* Execute the "compile" script. This will recompile all of the Lisp + source files that make up the Yale Haskell system. Compiled files are + put in the "akcl" subdirectory of each source directory. + +* Execute the "build-prelude" script to compile the standard prelude. + Note that this process tends to use up a huge amount of memory! + +* Execute the "savesys" script to build a new executable. + +* The new executable is initially called "bin/new-akcl-haskell". Try + it out. If it works, you should rename it to "bin/akcl-haskell". + Make sure that HASKELLPROG (in the haskell-setup script) is correct. + +A word of warning: we have noticed that AKCL is slower by a factor of +three or four than the other Common Lisps we've ported Yale Haskell +to. We don't really support AKCL and we encourage you to buy one of +the commercial Lisp products instead. + +We do not support our Haskell-to-CLX interface under AKCL, either. + + + + diff --git a/com/akcl/build-prelude b/com/akcl/build-prelude new file mode 100755 index 0000000..8f61827 --- /dev/null +++ b/com/akcl/build-prelude @@ -0,0 +1,35 @@ +#!/bin/csh +# +# build-prelude -- recompile the prelude, saving the old one as old-prelude.* +# +# +cd $Y2 +setenv PRELUDEBIN $Y2/progs/prelude/akcl +rm $PRELUDEBIN/old* +if (-e $PRELUDEBIN/Prelude.o) then + foreach i ($PRELUDEBIN/Prelude*.{o,scm}) + mv $i $PRELUDEBIN/old-$i:t + end + endif +$AKCL <