Skip to content

1.1 Note on compilation

Claude Roux edited this page Feb 1, 2021 · 38 revisions

Note on compiling

If you want to compile the whole project, you need to execute:

python configure.py
make all libs

The script: configure.py will check your configuration and adjust your compiling environment accordingly.

The compilation process requires two files: Makefile and Makefile.in.

  • Makefile should not be changed. It contains the instructions to compile both the interpreter and the libraries. It imports Makefile.in.

  • Makefile.in is the file that is updated by configure.py. It contains the specific paths to the different libraries that might be required to compile the whole project.

LispE is quite small and the whole project compiles in about a minute on most platforms.

LISPEPATH

The second step is to initialise the environment variable: LISPEPATH to the directory that contains the libraries that you have just compiled:

export LISPEPATH=/home/myname/lispe/bin

If you decide to move them to another directory, then you will need to update LISPEPATH accordingly.

Windows

We provide specific makefiles for Windows, for Visual 2017.

Note: We expect Python 3.7 to be installed on C:\Python37, however, you can use any version 3.x of Python as long as you modify the include path and the library path in the Python Makefile, which is part of the lispe.vxproj global Makefile.

Please note that pre-compiled versions are available here

Clone this wiki locally