This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Guile & PR


Bernard URBAN <Bernard.Urban@meteo.fr> writes:

> 
> Yes, at least on several popular platforms (Solarix, Linux, HPPA...).
> Should be extensible to evey platform supporting emacs, as the unexec
> code used is borrowed from there.
> 
> How to do it:
> 1) get guile-hobbit-1.3.2 and install it. This will 
> install in BINDIR an executable tguile.

This is a slight problem, though:

Making all in unexec
make[1]: Entering directory `/home/greg/src/guile-hobbit-1.3.2/unexec'
gcc -DSTDC_HEADERS=1  -I. -I.  -I.. -I/usr/local/include -I/usr/local/include/guile  -g -O2 -c gmalloc.c
gcc      -o .o
gcc: No input files
make[1]: *** [.o] Error 1
make[1]: Leaving directory `/home/greg/src/guile-hobbit-1.3.2/unexec'
make: *** [all-recursive] Error 1

Problem seems to be UNEXEC isn't being set, so libunexec_a_SOURCES is
set to gmalloc.c .c  

> 2) Now do (absolute path is important):
> $BINDIR/tguile --dump fast-guile /dev/null
> An executable fast-guile is created, which starts... fast !!!
> 
> Warning: you can dyn-load code in fast-guile, as in the normal guile.
> You can also replace /dev/null with a real file containing Scheme
> code (as done in guile-stklos), but this code must not dyn-load anything !
> 


-- 
Greg