From: simonmar Date: Tue, 27 Mar 2001 11:38:19 +0000 (+0000) Subject: [project @ 2001-03-27 11:38:19 by simonmar] X-Git-Tag: Approximately_9120_patches~2290 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=81e3aa0f6ace5e28f1edbad81a5b9f9c6a211967;p=ghc-hetmet.git [project @ 2001-03-27 11:38:19 by simonmar] updates to work with GHC 5, I hope... --- diff --git a/distrib/hc-build b/distrib/hc-build index 91c0deb..f0ad9dc 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 + +# clean in ghc/lib, but avoid removing hsc2hs-generated .hs files +$MAKE -C ghc/lib clean HSC_SRCS="" +$MAKE -C ghc/lib boot all + +$MAKE -C hslibs clean boot all +$MAKE -C ghc/utils clean boot all