6
On my dec alpha-osf1 and irix 5 can i save an image with compiled functions?
10
These two systems use the o/fasldlsym.c module, which uses the system
11
call dl_open to do the loading of object files, from dynamic
12
libraries. While this provides fast loading of .o files into a
13
running image we do not know where those objects are located, or how
14
to save an image once they are loaded. So in short the answer is NO,
15
not at the moment.. These unixes no longer support the simple old 'ld
16
-A' option which let one build a .o and read it into memory where one
19
If you have a large system with a lot of preinitialization code, you COULD build
20
an image in the same manner the actual lisp itself is built. Ie essentially
21
add more files to the main link. si::save-system does work, it just wont work
22
after you dynamically load in .o files.
24
I do this for the build of maxima (in version >= maxima-5.1). Look at
25
the files maxima-5.1/src/{makefile,sysinit.lsp}. Basically you need
26
to compile your files with the :system-p t flag, so that an init
27
function for each file based on the file name is produced. Then you
28
have to arrange for those init functions to be called at startup, then
29
you save as is done in building the lisp.
33
Are tcl 7.4 and tk 4.0 compatible with gcl 2.2.
35
Answer: Not really. Some things will work but others wont. The demos
36
in the demos directory certainly wont all work, they are based on tk
37
3.6. They presumably could be rewritten based on their newer
38
counterparts. I do not know of what other changes are necessary...
39
In some sense the separation between gcl and tcl/tk is fairly complete
40
so in PRINCIPLE the changes required should only be those to user
41
code, caused by changes to the tk library. One would need to add
42
perhaps some new calls to def-widget, eg in tkl.lisp adding
46
if 'listbox' were a new widget type.
51
if 'send' or 'control' were new functions..
53
Also one should update the gcl-tk info stuff from the using
54
gcl-2.2/elisp/man1-to-texi.el you can also use
56
You can use gcl-2.2/gcl-tk/convert.el as a start on using emacs to
57
convert other (tcl/tk 4.0) code to lisp, to have their new demos in lisp
61
Question: Is there a port to mach 10 on the mac.
64
Not yet. This would be good.. Emacs is ported there. I dont know if it
65
saves itself however...i had heard it does not. I believe they are using the
66
macintosh native executable format....