[project @ 2001-05-22 14:48:28 by simonmar]
authorsimonmar <unknown>
Tue, 22 May 2001 14:48:28 +0000 (14:48 +0000)
committersimonmar <unknown>
Tue, 22 May 2001 14:48:28 +0000 (14:48 +0000)
Need to make ghc/utils in the second stage before we clean in
ghc/lib/std, because hsc2hs is needed to boot ghc/lib/std, but the
libraries are needed to build hsc2hs itself.

*** MERGE ***

distrib/hc-build

index 3f1824a..3381af2 100644 (file)
@@ -45,9 +45,12 @@ $MAKE -C ghc all
 echo "*** Building libraries..."
 ./configure
 
+# make ghc/utils while we still have libraries in ghc/lib
+$MAKE -C ghc/utils clean boot
+$MAKE -C ghc/utils all
+
+# now, clean and build the libraries
 $MAKE -C ghc/lib   clean boot
 $MAKE -C ghc/lib   all
 $MAKE -C hslibs    clean boot
 $MAKE -C hslibs    all
-$MAKE -C ghc/utils clean boot
-$MAKE -C ghc/utils all