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

  1. It is best to start in a fresh directory
  2. Get the linux.zip file.
  3. Unzip the file:
        unzip linux.zip
    
    You should now have two directory structures, bin and lib
  4. Copy the files in bin to /usr/local/bin
  5. Move (rename) the lib directory to /usr/local/lib/mit-scheme
  6. 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.)
  7. Delete the zip file.

Installing MIT-Scheme for NT

  1. Make a top-level directory called scheme, e.g. d:\scheme
  2. Get the nt.zip file into that directory.
  3. Unzip the file:
        unzip nt.zip
    
    You should now have three directory structures, bin, doc and lib
  4. Edit the following environment variables (use the Settings => Control Panel => System => Environment)
  5. 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.)
  6. You will probably want to make a short-cut to start scheme.
  7. 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.