[project @ 2000-10-06 15:50:44 by simonmar]
authorsimonmar <unknown>
Fri, 6 Oct 2000 15:50:44 +0000 (15:50 +0000)
committersimonmar <unknown>
Fri, 6 Oct 2000 15:50:44 +0000 (15:50 +0000)
Link the compiled prelude in, for testing the interpreter.

ghc/compiler/main/Main.lhs

index ad9cde2..16d7345 100644 (file)
@@ -87,6 +87,10 @@ doIt (core_cmds, stg_cmds)
         hPutStr stderr booter_version                          >>
         hPutStr stderr "\n")                                   >>
 
+#ifdef GHCI
+    linkPrelude >>
+#endif
+
        --------------------------  Reader  ----------------
     show_pass "Parser" >>
     _scc_     "Parser"