X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=distrib%2Fhc-build;h=43133f83de340e926cad93d3cee0cda4ed442963;hb=db54c49c5bbff861e1b8172b7d5477ce99223cae;hp=91c0deb9512a02ce10046f7550c8db2d4bfe6d4b;hpb=75b08d02787f657140a6c65e9419e6a911816ec5;p=ghc-hetmet.git diff --git a/distrib/hc-build b/distrib/hc-build index 91c0deb..43133f8 100644 --- a/distrib/hc-build +++ b/distrib/hc-build @@ -1,13 +1,16 @@ -#!/bin/sh +#!/bin/sh -e # Manuel M. T. Chakravarty , June 2000 +# Updated for GHC 5.00, Simon Marlow, March 2001 +# Updated for GHC 5.04.3, Urban Boquist, March 2003 # # 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 # unpacked). All options are passed through to ./configure (especially # useful with --prefix). -configopts="$*" +configopts="$*" # e.g., --enable-hc-boot-unregisterised +PWD=`pwd` # check for GNU make # @@ -23,24 +26,89 @@ fi # build configuration # -cat >mk/build.mk <>mk/build.mk <>mk/build.mk <>mk/build.mk -$MAKE -C ghc/lib clean boot all || exit 1 -$MAKE -C hslibs clean boot all