X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=utils%2FMakefile;h=660f1799d87084c1527454f2e67fff6854e3ffce;hb=d1876c6ae9cf821685a7035bea728f9fb1b12899;hp=ab7f6ba9c29d5674f2fdbddf01b0194adeb46948;hpb=4f597914955e1eeb08243f8b0743387703fc62b6;p=ghc-hetmet.git diff --git a/utils/Makefile b/utils/Makefile index ab7f6ba..660f179 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -50,6 +50,15 @@ boot :: $(MAKE) -C genprimopcode endif +############################################ + +# The utils may be built with the bootstrapping compiler, for use during +# the build, or with the stage2 compiler, for installing. Some of them +# are built with both; we can't install the utils built with the +# bootstrapping compiler as they may use different versions of C +# libraries. The reason we use stage2 rather than stage1 is that some +# utils, e.g. haddock, need the GHC API package. + WITH_BOOTSTRAPPING_COMPILER = installPackage ghc-pkg hsc2hs hpc WITH_STAGE2 = installPackage ghc-pkg hasktags runghc hpc pwd haddock