X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=distrib%2Fhc-build;h=3381af2852c8b02aae0c913e38b80d73449033db;hb=54f9adfa25afe299b7e86f6836b49647c1e3a811;hp=a9074780e444ec4078bdd7fdb8a20464c3f8a2ca;hpb=355076ac5c42dbc9b50ba150f2fdf1a0e76fa8e3;p=ghc-hetmet.git diff --git a/distrib/hc-build b/distrib/hc-build index a907478..3381af2 100644 --- a/distrib/hc-build +++ b/distrib/hc-build @@ -1,6 +1,7 @@ -#/bin/sh +#!/bin/sh -e # Manuel M. T. Chakravarty , June 2000 +# Updated for GHC 5.00, Simon Marlow, March 2001 # # Script to build GHC from .hc files (must be run in the fptools/ root # directory into which the source and .hc files must already have been @@ -24,10 +25,7 @@ fi # build configuration # cat >mk/build.mk <>mk/build.mk -$MAKE -C ghc/lib clean boot all || exit 1 -$MAKE -C hslibs clean boot 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