The following sections describe which machines are supported by ECL, how to build and install it on them. You should read at least Section 6.1 and in particular Table 1 which details the other sections containing installation instructions for your platform.
Table 1. Supported platforms
|x86||Windows XP, Vista, 7||Microsoft compilers||YES|
|x86||Windows XP, Vista, 7||Cygwin||YES|
|x86||Windows XP, Vista, 7||Mingw and Msys tools||YES|
|x86||OS X Tiger||Autoconf||YES|
|x86_64||OS X Tiger||Autoconf||YES|
[a] YES means that a dedicated machine regularly builds and tests ECL on this platform.
[b] Intel 32 bit processors (Pentium, Pentium II, Pentium 3, Pentium 4) and AMD clones
[c] AMD and Intel processors with 64 bit extensions.
In Table 1 we show the operating systems in which ECL is known to run and where it is regularly tested. Note that ECL might successfully build on other platforms, and that porting is relatively easy. We regularly get reports on ECL being built on other platforms (ARM, Motorola 68x, Sparc, etc), so the best thing is to try yourself.
ECL, like many other free programs, can be built and installed a GNU tool called Autoconf. This is a set of automatically generated scripts that detect the features of your machine, such as the compiler type, existing libraries, desired installation path, and configures ECL accordingly. The following procedure describes how to build ECL using this procedure and it applies to all platforms except for the Windows ports.
Unpack the tar file
$ gunzip -c ecl-0.9i.tgz | tar xf -
Choose a directory in which you will install ECL. Following
the Unix covention we will use
Run the configuration file
$ cd ecl-0.9i $ ./configure --prefix=/usr/local
If you are building under Solaris 9 you should replace the last line with
$ ./configure --enable-slow-config --with-system-gmp=no \ --prefix=/usr/local
By now you should have a directory with the name
build and a bunch of makefiles inside it.
Use GNU make to begin building ECL. Normally this amounts to invoking
from the command line.
Install the program using
$ make install
Make sure the program is installed and ready to run
$ /usr/local/ecl ECL (Embeddable Common-Lisp) 0.9i Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya Copyright (C) 1993 Giuseppe Attardi Copyright (C) 2000 Juan J. Garcia-Ripoll ECL is free software, and you are welcome to redistribute it under certain conditions; see file 'Copyright' for details. Type :h for Help. Broken at EVAL. >
If you have a commercial version of Microsoft Visual Studio, the steps are simple:
Change to the
nmake to build ECL.
nmake install prefix=d:\Software\ECL
prefix is the directory where you want to install
Optionally, if you want to build a self-installing
executable, you can install NSIS and run
If you want to build ECL using the free Microsoft Visual Studio Express 2010 or better, you should follow these before building ECL as sketched before: