summaryrefslogtreecommitdiff
path: root/distrib/hc-build
diff options
context:
space:
mode:
authorsimonmar <unknown>2001-05-22 14:48:28 +0000
committersimonmar <unknown>2001-05-22 14:48:28 +0000
commit51724722de1d5a9513b1082d18909675910156ab (patch)
tree37360921ee726804d74c1ad3ec5d0e54344751e7 /distrib/hc-build
parent23a67d06a8aa5bd27619ca1cdf92a46f1557d1df (diff)
downloadhaskell-51724722de1d5a9513b1082d18909675910156ab.tar.gz
[project @ 2001-05-22 14:48:28 by simonmar]
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 ***
Diffstat (limited to 'distrib/hc-build')
-rw-r--r--distrib/hc-build7
1 files changed, 5 insertions, 2 deletions
diff --git a/distrib/hc-build b/distrib/hc-build
index 3f1824a22c..3381af2852 100644
--- a/distrib/hc-build
+++ b/distrib/hc-build
@@ -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