-
-
Notifications
You must be signed in to change notification settings - Fork 88
Expand file tree
/
Copy pathpreload.scm
More file actions
38 lines (36 loc) · 1.18 KB
/
preload.scm
File metadata and controls
38 lines (36 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
;;
;; This file is loaded when we generate some files using host's Gauche that
;; are required to build target's Gauche. The issue is that some libraries
;; required to run the generator program may be compiled DSOs, and those
;; DSOs in ./src compiled for target's Gauche may be incompatible with
;; host's Gauche. So we 'preload' those compiled libraries from the host
;; enviroment before we add ./src and ./lib to the (load-paths), i.e.:
;;
;; gosh -l./preload -I./src -I./lib ....
;;
(use gauche.collection)
(use gauche.charconv)
(use gauche.sequence)
(use gauche.dictionary)
(use gauche.hook)
(use gauche.uvector)
(use gauche.regexp)
(use gauche.record)
(use gauche.generator)
(use gauche.interpolate)
(use gauche.pputil)
(use gauche.process)
(use gauche.threads)
(use scheme.list)
(use srfi.13)
(use file.util)
(use text.tr)
(use util.match)
(use rfc.822)
(use rfc.mime)
;; TRANSIENT - We changed autoloaded gauche.numutil to be a separate module
;; instead of injecting definitions to #<module gauche>, after 0.9.15.
;; But 0.9.15 Gauche doesn't expect gauche/numitl.scm to have a separate
;; module. So we trigger autoload of BUILD_GOSH's numutil here.
;; Remove after the new release.
square