chiark / gitweb /
Automatic initialization after loading
[clg] / README
CommitLineData
560af5c5 1This package contains Common Lisp bindings to GTK+ v2.0. It currently
af2d02f4 2only works with CMUCL, but ports to other CL implementations may be
560af5c5 3added later.
4
5
6New versions
7------------
8
9The most recent version of this package can be found at:
10
11
12
13Build instructions
14------------------
15
161. When building for CMUCL, first obtain a matching binary and source
17 tree (the only source file you will actually need is lisp.h, which
18 have to be copied or linked to your CMUCL_LIB directory). On ELF
19 systems you may also have to rebuild lisp with -rdynamic added to
20 OS_LINK_FLAGS.
21
af2d02f4 222. Edit clg.system to reflect the paths on your system:
23
24 - Edit the logical-pathname-translations to point to the
25 place where the sources actually are, or set the translations
26 somewhere else, like ~/.cmucl-init.lisp.
27
28 - Edit the pkg-config search path if your gtk+ installation is in
bd046bd3 29 an unusual place.
af2d02f4 30
31 - Edit *cmucl-include-path* to point to the directory where the
32 lisp.h file resides, if it is not auto detected. Try "locate
33 '*/lisp.h'" if you don't know the location.
34
353. Compile and load clg:
36 (load "clg.system")
37 (mk:oos :clg :compile)
38 (mk:oos :clg :load)
39
404. If everything worked, try (load "hello-world") to see a small
41 window pop up.
42
43Send comments and patches to clg-devel@lists.sourceforge.net
44
560af5c5 45
46
47