Attached is a rather large patch to 21.0.61 to support DLL loading.
I
havent done changelog entries yet but this is pretty complete, even a
manual. This has the new ellcc compiler program, and a much more complete
and well defined interface. Modules are now 100% the same as built-in
code, so it should be easy to migrate stuff out of the dumped Emacs into
loadable modules. Please apply this (with -E to remove some empty files)
and try it out. I think this works pretty well. No doubt I will have to
polish things a little but I would really like to see this stuff in the
tree sooner rather than later so that people can get used to the idea,
and we can start thinking about which parts of the currently dumped
Emacs we want to turn into modules.
I just tried to build 21.0.61 (patched up from 21.0.60) which this
DLL patch added, and I get the error message.
gcc -I. -O2 -fno-caller-saves -Demacs -I../src -DHAVE_CONFIG_H -I/usr/local/include
-I/home/rcoleman/xemacs/xemacs-21.0.60/lib-src
-I/home/rcoleman/xemacs/xemacs-21.0.60/lib-src/../src
-DVERSION='"21.0-b61"'
/home/rcoleman/xemacs/xemacs-21.0.60/lib-src/ootags.c getopt.o getopt1.o regex.o
-L/usr/local/lib -Xlinker -R/usr/local/lib -ltermcap -lkvm -lm -lutil -lxpg4 -o ootags
make: don't know how to make ellcc.h. Stop
*** Error code 2
I configured with
./configure '--prefix=/usr/local' '--site-includes=/usr/local/include'
'--site-libraries=/usr/local/lib' '--cflags=-O2 -fno-caller-saves'
'--debug=no' '--error-checking=no' '--gung-ho'
--
Richard Coleman
coleman(a)math.gatech.edu