Used LOAD-OPTION to load cref.
authorStephen Adams <edu/mit/csail/zurich/adams>
Tue, 6 Dec 1994 17:44:22 +0000 (17:44 +0000)
committerStephen Adams <edu/mit/csail/zurich/adams>
Tue, 6 Dec 1994 17:44:22 +0000 (17:44 +0000)
This ensures that, when cross-syntaxing the compiler, the host
system's cref is loaded, not the cref from the target system.

v8/src/compiler/machines/spectrum/compiler.sf

index fb1c4385148d895a71e452b6d7192317516b7678..33014e4aef6356eb6d13846d00c7410268804bd1 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: compiler.sf,v 1.1 1994/11/19 02:09:58 adams Exp $
+$Id: compiler.sf,v 1.2 1994/12/06 17:44:22 adams Exp $
 
 Copyright (c) 1988-1994 Massachusetts Institute of Technology
 
@@ -35,8 +35,7 @@ MIT in each case. |#
 ;;;; Script to incrementally syntax the compiler
 \f
 ;; Guarantee that the package modeller is loaded.
-(if (not (name->package '(CROSS-REFERENCE)))
-    (with-working-directory-pathname "../cref" (lambda () (load "make"))))
+(load-option 'CREF)
 
 ;; Guarantee that the compiler's package structure exists.
 (if (not (name->package '(COMPILER)))