[project @ 2001-07-23 23:10:03 by ken]
authorken <unknown>
Mon, 23 Jul 2001 23:10:03 +0000 (23:10 +0000)
committerken <unknown>
Mon, 23 Jul 2001 23:10:03 +0000 (23:10 +0000)
Fixed: The second-stage compilation in this script should use the compiler
built in the first stage.  Also, configure wants to find Happy, so we feed
it fake-happy (presuming that the ghc-less machine also does not have happy).

distrib/hc-build

index 21d9db6..f52f29c 100644 (file)
@@ -43,7 +43,7 @@ $MAKE -C hslibs boot all
 $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