merged from ansiClib
[CommonLispStat.git] / README.mcl
blob0801fa0027668ced78f96048173309b0014d0af7
1 To build Lisp-Stat under Macintosh CL, 
3         Put the files in a mac folder with the lib, Examples and Data
4         files in subfolders and rename all .lsp files to have .lisp 
5         endings
7         Edit the MPW library specifications in mclglue.lisp if necessary
9         Use MPW to build clib.o in the lib folder with the makefile
10         clib.make
12         Start up MCL and from with in MCL
14         Load defsys.lisp using the load menu command
16         In the listener execute
18                 (ls::compile-stats)
20 This sets up fasl files for all the lisp files. You can then run the system
21 by 
23         Starting up MCL
25         Loading defsys.lisp with the load menu item
27         In the listener executing
29                 (ls::load-stats)
30                 (ls::use-stats)
32 Up to now I have not figured out the right way to write a modified top
33 level that restores the history mechanism and behaves properly in the
34 interactive enviroonment. I have also not been able to figure out how
35 to save an application or image that contains the C code. If anyone
36 has any hints I would be glad to hear them. Since this part of MCL is
37 still listed as under development it may be best not to spend too much
38 time on this until they come out with a proper release.
40 The result seems to work but is very unstable on a Mac SE30 with 5M
41 and system 6.0.7. I don't think the problem is with the C interface
42 code itself, since it is essentially the same code as for Allegro. I
43 think the problem is a combination of lack of memory and heap
44 fragmentation. I have not yet worked out if there ae parameters in mcl
45 that let you tinker with heap allocation and memory management in
46 general. If so, these need to be adjusted. More memory would also
47 help. Finally, it would probably help to write local versions of
48 calloc/realloc/free that do more heap compacting and garbage
49 collecting.