OKlibrary  0.2.1.6
CLisp.hpp File Reference

Documentation on how to build CLisp. More...

Go to the source code of this file.


Detailed Description

Documentation on how to build CLisp.

Installing CLisp

On the purpose of CLisp

The computer algebra system Maxima is implemented in "Common Lisp", and CLisp is an implementation of this form of Lisp.

We do not use CLisp directly, only indirectly through Maxima.

What the installation yields

  • The clisp-executable, used for compiling lisp-files as well as an interactive interpreter.
  • Documentation on Common Lisp in general, and on the usage of the clisp-executable.
  • Library-files, needed to execute lisp-files.

Current state of installation

How to install

  • CLisp comes with Linux distributions, so you could install it with your distribution tool, however then you need to configure the build-system of the OKlibrary accordingly.
  • We recommend local installation.

Prerequisites

  • "libsigsegv" is needed (the clisp installation process will tell you about it); it can be installed as shown below.
  • At least on 64-bit machines also "libffcall" is needed; it can be installed as shown below.
  • Using target clispall below is the easiest way to build CLisp (this takes care of all prerequisites).

Make targets

Only local installation currently.

clisp Build the recommended version of clisp.
cleanclisp Removes the clisp build directory.
cleanallclisp Removes all clisp build/installation/documentation directories.
libsigsegv Build the recommended version of libsigsegv.
cleanlibsigsegv Removes the libsigsegv build directory.
cleanalllibsigsegv Removes all libsigsegv build/installation/documentation directories.
libffcall Build the recommended version of libffcall.
cleanlibffcall Removes the libffcall build directory.
cleanalllibffcall Removes all libffcall build/installation/documentation directories.
clispall Calls libsigsegv, libffcall and clisp.
cleanclispall Calls cleanlibsigsegv, cleanlibffcall and cleanclisp.
cleanallclispall Calls cleanalllibsigsegv, cleanalllibffcall and cleanallclisp.

Configuration

  • To install a different version of CLisp, set variable clisp_recommended_version_number_okl accordingly.
  • To install a different version of Libsigsegv, set variable libsigsegv_recommended_version_number_okl accordingly.
  • To install a different version of Libffcall, set variable libffcall_recommended_version_number_okl accordingly.

Definition in file CLisp.hpp.