* Let scsh.image depend on scsh/lib-dirs.scm
* ,load-package scheme-with-scsh before dumping the images to get better start-up times when scheme-with-scsh is opened in a package definition.
This commit is contained in:
parent
f344e2be87
commit
47f074ba5c
|
@ -789,6 +789,7 @@ SCHEME =scsh/awk.scm \
|
|||
scsh/glob.scm \
|
||||
scsh/dot-locking.scm \
|
||||
scsh/here.scm \
|
||||
scsh/lib-dirs.scm \
|
||||
scsh/libscsh.scm \
|
||||
scsh/machine/bufpol.scm \
|
||||
scsh/machine/errno.scm \
|
||||
|
@ -869,11 +870,13 @@ loads = $(srcdir)/scsh/let-opt.scm $(srcdir)/scsh/scsh-interfaces.scm \
|
|||
opens = floatnums scsh ccp-lib scsh-top-package scsh-here-string-hax \
|
||||
srfi-1 srfi-13 srfi-14 # srfi-14 is also exported by scsh
|
||||
|
||||
# Doing ,load-package scheme-with-scsh here gives us much better start-up times
|
||||
scsh/scsh.image: $(VM) $(SCHEME) $(IMAGE)
|
||||
(echo ",translate =scheme48/ `pwd`/scheme/"; \
|
||||
echo ",batch on"; \
|
||||
echo ",config ,load $(loads)"; \
|
||||
echo ",open $(opens)"; \
|
||||
echo ",load-package scheme-with-scsh"; \
|
||||
echo "(dump-scsh \"$@\")"; \
|
||||
) \
|
||||
| ./$(VM) -o ./$(VM) -i $(IMAGE) -h 10000000
|
||||
|
@ -889,6 +892,7 @@ scsh/stripped-scsh.image: $(VM) $(SCHEME) $(IMAGE)
|
|||
echo ",batch on"; \
|
||||
echo ",config ,load $(loads)"; \
|
||||
echo ",open $(opens)"; \
|
||||
echo ",load-package scheme-with-scsh"; \
|
||||
echo ",flush"; \
|
||||
echo "(dump-scsh \"$@\")";) \
|
||||
| ./$(VM) -o ./$(VM) -i $(IMAGE) -h 10000000
|
||||
|
|
Loading…
Reference in New Issue