new boot files
This commit is contained in:
parent
1d9a26cefd
commit
a050e28633
Binary file not shown.
Binary file not shown.
|
@ -31,8 +31,11 @@
|
||||||
[(<= (fixnum-width) 32) ".ikarus-32bit-fasl"]
|
[(<= (fixnum-width) 32) ".ikarus-32bit-fasl"]
|
||||||
[else ".ikarus-64bit-fasl"]))
|
[else ".ikarus-64bit-fasl"]))
|
||||||
|
|
||||||
|
(define (fasl-path filename)
|
||||||
|
(string-append filename fasl-extension))
|
||||||
|
|
||||||
(define (load-serialized-library filename sk)
|
(define (load-serialized-library filename sk)
|
||||||
(let ([ikfasl (string-append filename fasl-extension)])
|
(let ([ikfasl (fasl-path filename)])
|
||||||
(cond
|
(cond
|
||||||
[(not (file-exists? ikfasl)) #f]
|
[(not (file-exists? ikfasl)) #f]
|
||||||
[(< (file-mtime ikfasl) (file-mtime filename))
|
[(< (file-mtime ikfasl) (file-mtime filename))
|
||||||
|
@ -58,7 +61,7 @@
|
||||||
#f)))])))
|
#f)))])))
|
||||||
|
|
||||||
(define (do-serialize-library filename contents)
|
(define (do-serialize-library filename contents)
|
||||||
(let ([ikfasl (string-append filename fasl-extension)])
|
(let ([ikfasl (fasl-path filename)])
|
||||||
(fprintf (current-error-port) "Serializing ~s ...\n" ikfasl)
|
(fprintf (current-error-port) "Serializing ~s ...\n" ikfasl)
|
||||||
(let ([p (open-file-output-port ikfasl (file-options no-fail))])
|
(let ([p (open-file-output-port ikfasl (file-options no-fail))])
|
||||||
(fasl-write (make-serialized-library contents) p)
|
(fasl-write (make-serialized-library contents) p)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1792
|
1793
|
||||||
|
|
Loading…
Reference in New Issue