projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2001-07-23 23:10:03 by ken]
[ghc-hetmet.git]
/
distrib
/
hc-build
diff --git
a/distrib/hc-build
b/distrib/hc-build
index
3f1824a
..
f52f29c
100644
(file)
--- a/
distrib/hc-build
+++ b/
distrib/hc-build
@@
-8,7
+8,7
@@
# unpacked). All options are passed through to ./configure (especially
# useful with --prefix).
# unpacked). All options are passed through to ./configure (especially
# useful with --prefix).
-configopts="$*"
+configopts="$*" # e.g., --enable-hc-boot-unregisterised
# check for GNU make
#
# check for GNU make
#
@@
-43,11
+43,14
@@
$MAKE -C hslibs boot all
$MAKE -C ghc all
echo "*** Building libraries..."
$MAKE -C ghc all
echo "*** Building libraries..."
-./configure
+GHC="$PWD/ghc/compiler/ghc-inplace" HappyCmd="$PWD/distrib/fake-happy" ./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/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