Manuel M T Chakravarty wrote:
I think the only sane choice is to install haddock with ghc. Some
people may have multiple GHCs installed, some system-wide and some in
their home directory. I think it is generally impossible to guess for
an installer which version of which ghc to use.
Sane but difficult (unfortunately), because we need to be able to make
relocatable binary distributions for GHC, and that would mean a lot of
hacks in Haddock. It's much simpler to let the user install Haddock later,
where they can simply 'cabal install haddock' and it'll work with no fuss.
In fact it'll come with the Haskell Platform, and that's feasible because
I don't think we're planning to make relocatable binary distributions of
the HP.
So I agree with Ian - for now, build Haddock during the GHC build, but
don't install it.
Yes you need to re-install Haddock if you re-install GHC, but that's just
like any other library (think of Haddock as a library). I think it's
unlikely that anyone will want to have multiple Haddock installations, but
if they do then they'll just have to manually rename the Haddock binary
after installing it.
Cheers,
Simon
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc