#| -*-Scheme-*-
-$Id: runtime.cbf,v 1.3 1995/07/27 21:07:21 adams Exp $
+$Id: runtime.cbf,v 1.4 1995/08/19 14:30:44 adams Exp $
Copyright (c) 1988-95 Massachusetts Institute of Technology
(compile-directory "."))
(in-package (->environment '(runtime compiler-info))
- (let ((make.com ((make-primitive-procedure 'binary-fasload) "make.com")))
- (if (compiled-module? make.com)
- (begin
- (fresh-line)
- (display ";Fixing \"make.com\" for cold load")
- (fasdump (compiled-module/expression make.com) "make.com")))))
+ (let ((filename
+ (->namestring (merge-pathnames "make.com" (current-load-pathname)))))
+ (let ((make.com ((make-primitive-procedure 'binary-fasload) filename)))
+ (if (compiled-module? make.com)
+ (begin
+ (fresh-line)
+ (display ";Fixing \"")
+ (display filename)
+ (display "\" for cold load")
+ (fasdump (compiled-module/expression make.com) filename))))))