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/lucid/README | 39 +++++++++++++++++++++++++++++++++++ com/lucid/build-prelude | 36 ++++++++++++++++++++++++++++++++ com/lucid/build-xlib | 15 ++++++++++++++ com/lucid/clean | 5 +++++ com/lucid/compile | 13 ++++++++++++ com/lucid/savesys | 44 +++++++++++++++++++++++++++++++++++++++ com/lucid/savesys-xlib | 55 +++++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 207 insertions(+) create mode 100644 com/lucid/README create mode 100755 com/lucid/build-prelude create mode 100755 com/lucid/build-xlib create mode 100755 com/lucid/clean create mode 100755 com/lucid/compile create mode 100755 com/lucid/savesys create mode 100755 com/lucid/savesys-xlib (limited to 'com/lucid') diff --git a/com/lucid/README b/com/lucid/README new file mode 100644 index 0000000..508ed40 --- /dev/null +++ b/com/lucid/README @@ -0,0 +1,39 @@ +This directory contains command scripts used for building Yale Haskell +from the source distribution under Lucid Common Lisp. We have been using +Lucid version 4.0.0 on a Sparc, but we don't expect that there would +be difficulties in building with Lucid 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 LUCID 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/lucid. + +* 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 "lucid" 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-lucid-haskell". Try + it out. If it works, you should rename it to "bin/lucid-haskell". + Make sure that HASKELLPROG (in the haskell-setup script) is correct. + +* If you want to build an executable with the X support, you'll also + need to run the "build-xlib" and "savesys-xlib" scripts. You + need to edit these scripts to change the pathname of the file + containing the CLX library (or suppress the load entirely if you + are using a Lisp executable with CLX pre-loaded.). + +Important note for Emacs users: We've been told that Lucid provides +some patches to GNU Emacs that cause the Haskell Emacs mode not to work. +(Apparently these patches redefine some of the interprocess communication +functions in an incompatible way.) Use a standard Emacs. diff --git a/com/lucid/build-prelude b/com/lucid/build-prelude new file mode 100755 index 0000000..aee2274 --- /dev/null +++ b/com/lucid/build-prelude @@ -0,0 +1,36 @@ +#!/bin/csh +# +# build-prelude -- recompile the prelude, saving the old one as old-prelude.* +# +# +cd $Y2 +setenv PRELUDEBIN $Y2/progs/prelude/lucid +if (-e $PRELUDEBIN/Prelude.sbin) then + rm $PRELUDEBIN/old* + foreach i ($PRELUDEBIN/Prelude*.{sbin,scm}) + mv $i $PRELUDEBIN/old-$i:t + end + endif +$LUCID <