X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2FMakefile;h=660f1799d87084c1527454f2e67fff6854e3ffce;hb=848dafe81b0b7e3564c09109a2f30b598235c555;hp=ab7f6ba9c29d5674f2fdbddf01b0194adeb46948;hpb=4a73af53332e94ca56a6faed96f8391c14ecfa18;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