From f4afb39c623b1c077a5ffeddbad2b4f451f0d975 Mon Sep 17 00:00:00 2001 From: PHO Date: Tue, 7 Feb 2012 08:01:28 +0900 Subject: [PATCH] Update the building guide for ghc-7.4.1 --- Makefile | 5 ++++- TODO | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a50424a..3e50ccd 100644 --- a/Makefile +++ b/Makefile @@ -131,7 +131,10 @@ ${WRKDIR}/stamp-rewrite-hc-paths: ${WRKDIR}/stamp-extract-hc -e "s#\\[\\[GHC_SOURCE_PATH\\]\\]#`${PWD_CMD}`#g" $$i > $$i.tmp; \ ${MV} -f $$i.tmp $$i; \ done && \ - ${TOUCH} -r inplace/lib/package.conf.d */*/package-data.mk */*/*/package-data.mk && \ + ${TOUCH} -r inplace/lib/package.conf.d \ + */*/package-data.mk \ + */*/*/package-data.mk \ + compiler/stage?/build/Config.hs && \ ${TOUCH} ${.TARGET} ${WRKDIR}/stamp-bootstrap-ghc: ${WRKDIR}/stamp-rewrite-hc-paths diff --git a/TODO b/TODO index cc117cc..d4c5fdb 100644 --- a/TODO +++ b/TODO @@ -25,7 +25,6 @@ Extract the source archive and duplicate the source tree, one for Build some configuration files:: $ cd ghc-{VERSION}-target - $ ln -s /bin/pwd utils/ghc-pwd/ghc-pwd $ ./configure --enable-hc-boot $ echo "INTEGER_LIBRARY = integer-simple" > mk/build.mk $ gmake bootstrapping-files @@ -63,7 +62,8 @@ contents:: Copy some configuration files from the ``-target`` tree:: - $ cp ../ghc-{VERSION}-target/includes/{ghcautoconf.h,DerivedConstants.h,GHCConstants.h} includes/ + $ cp -r ../ghc-{VERSION}-target/includes/dist-{ghcconstants,derivedconstants} includes/ + $ cp ../ghc-{VERSION}-target/includes/ghcautoconf.h includes/ Build it:: -- 2.40.0