Installing HLSIM on your Linux or NT box
Preparation
You need to install MIT-Scheme before you can run HLSIM. MIT-Scheme
requires 50 Megabytes of free disk space to install. You can reclaim
about a third of it by removing the ZIP files when you are finished.
Files
Instructions
Installing MIT-Scheme for Linux
- It is best to start in a fresh directory
- Get the linux.zip file.
- Unzip the file:
unzip linux.zip
You should now have two directory structures, bin and lib
- Copy the files in bin to /usr/local/bin
- Move (rename) the lib directory to
/usr/local/lib/mit-scheme
- Test it by running Edwin:
edwin -band all.com -heap 3000
At this point you should be able to type in expressions and evaluate
them (M-z or C-x e.)
- Delete the zip file.
Installing MIT-Scheme for NT
- Make a top-level directory called scheme, e.g. d:\scheme
- Get the nt.zip file into that directory.
- Unzip the file:
unzip nt.zip
You should now have three directory structures, bin,
doc and lib
- Edit the following environment variables (use the Settings => Control Panel => System => Environment)
- add d:\scheme\bin to PATH
- set MITSCHEME_LIBRARY_PATH = d:\scheme\lib
- Test the installation. You should be able to run scheme by running
scheme -band all.com -heap 3000 -eval (edwin)
Two windows will open. The first one will iconify almost immediately.
Ignore it.
The second is the edwin editor, which is a lot like Emacs 18.
At this point you should be able to type in expressions and evaluate
them (M-z or C-x e.)
- You will probably want to make a short-cut to start scheme.
- Delete the zip file.
Installing HLSIM
We suggest that you install HLSIM in /gunk/hlsim/stable as follows:
Linux:
mkdir /gunk/hlsim/stable
cp hlsim.zip /gunk/hlsim/stable
cd /gunk/hlsim/stable
unzip hlsim.zip
Windows NT:
mkdir D:\gunk\hlsim\stable
copy hlsim.zip D:\gunk\hlsim\stable
D:
cd \gunk\hlsim\stable
unzip hlsim.zip
Using the examples
Adding a load-option
If you put HLSIM in D:/gunk/hlsim/stable
put the following text
(define-load-option 'hlsim
(lambda ()
(load "D:/gunk/hlsim/stable/loader")))
In one of two places:
/usr/lib/mit-scheme/optiondb.scm
~/.scheme.init
Last updated on 23 September 1997
adams@ai.mit.edu.