Portable C Installation (MIT/GNU Scheme 10.1.6)

Previous: Windows Installation, Up: Installation [Contents][Index]

### 1.3 Portable C Installation

This section describes how to generate binaries from the portable C distribution. These binaries should run with little or no trouble on most modern architectures and operating systems. It will probably require tweaking for systems that haven’t been tested.

When built this way, the system runs slower than when it is built using the native-code compiler. For this reason, you will usually want to use native-code binaries when running on a 32-bit Intel architecture machine. However, the portable-code binaries can address larger amounts of virtual memory than the native-code binaries, so it is reasonable (and supported) to use both kinds on the same machine.

1. Unpack the tar file, `mit-scheme-c-VERSION.tar.gz`, into the directory `mit-scheme-c-VERSION`. For example,

       tar xzf mit-scheme-c-VERSION.tar.gz

   will create a new directory `mit-scheme-c-VERSION`.

2. Move into the new directory:

       cd mit-scheme-c-VERSION/src

3. Build the program:

       ./etc/make-liarc.sh

   This will take a long time; on fairly fast machines with lots of RAM it takes about an hour. On older machines it will take longer or fail altogether, at which point you should ask for help. Note that you can pass configure options to the script.

       ./etc/make-liarc.sh --help
       ./etc/make-liarc.sh --prefix=/usr

4. Install the program:

       make install

   Depending on configuration options and file-system permissions, you may need super-user privileges to do the installation step.