~ubuntu-branches/ubuntu/intrepid/ecl/intrepid

« back to all changes in this revision

Viewing changes to src/clx/exclREADME

  • Committer: Bazaar Package Importer
  • Author(s): Peter Van Eynde
  • Date: 2006-05-17 02:46:26 UTC
  • Revision ID: james.westby@ubuntu.com-20060517024626-lljr08ftv9g9vefl
Tags: upstream-0.9h-20060510
ImportĀ upstreamĀ versionĀ 0.9h-20060510

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
     This file contains instructions on how to make CLX work with Franz
 
2
Common Lisp.  CLX should work on any machine that supports Allegro Common
 
3
Lisp version 3.0.1 or greater.  It also works under ExCL version 2.0.10.
 
4
However it has been tested extensively with only Allegro CL versions 3.0,
 
5
3.1, and 4.0.
 
6
 
 
7
     There are three steps to compile and install CLX.  The first is simply
 
8
moving files around.  In this directory, execute (assuming you using csh):
 
9
 
 
10
% foreach i (*.l */*.l)
 
11
? mv $i $i:r.cl
 
12
? end
 
13
% mv exclMakefile Makefile
 
14
 
 
15
     The second is compiling the source files into fasl files.  The fasl files
 
16
will be combined into one big fasl file, CLX.fasl.  This file is then installed
 
17
in your Common Lisp library directory in the next step.  You may need to edit
 
18
the Makefile to select the proper CFLAGS for your machine -- look in Makefile
 
19
for examples.  Then just:
 
20
 
 
21
% make
 
22
 
 
23
     Now you must move the CLX.fasl file into the standard CL library.
 
24
This is normally "/usr/local/lib/cl/code", but you can find out for sure
 
25
by typing:
 
26
 
 
27
<cl> (directory-namestring excl::*library-code-pathname*)
 
28
 
 
29
to a running Lisp.  If it prints something other than "/usr/local/lib/cl/code"
 
30
substitute what it prints in the below instructions.
 
31
 
 
32
% mv CLX.fasl /usr/local/lib/cl/code/clx.fasl
 
33
% mv *.o /usr/local/lib/cl/code
 
34
 
 
35
Now you can just start up Lisp and type:
 
36
 
 
37
<cl> (load "clx")
 
38
 
 
39
to load in CLX.  You may want to dump a lisp at this point since CLX is a large
 
40
package and can take some time to load into Lisp.  You probably also want to
 
41
set the :generation-spread to 1 while loading CLX.  Please see your Allegro CL
 
42
User Guide for more information on :generation-spread.
 
43
 
 
44
 
 
45
     Sophisticated users may wish to peruse the Makefile and defsystem.cl
 
46
and note how things are set up.  For example we hardwire the compiler
 
47
interrupt check switch on, so that CL can still be interrupted while it
 
48
is reading from the X11 socket.  Please see chapter 7 of the CL User's
 
49
guide for more information on compiler switches and their effects.
 
50
 
 
51
 
 
52
Please report Franz specific CLX bugs to:
 
53
 
 
54
        ucbvax!franz!bugs
 
55
               or
 
56
         bugs@Franz.COM