On Sun, 2008-08-17 at 12:02 +0100, Ian Lynagh wrote:

> I'm not keen on this (if I understand what you mean correctly). On
> systems like Debian we need to be able to just build the GHC package,
> and on systems like gentoo users don't want to have to build GHC twice
> just so that they can get the library docs.

On gentoo we package haddock as a separate package from ghc so for ghc's
docs we have to provide a tarball of pre-generated docs otherwise we
would have circular build dependencies. I think we'll do the same for
haddock 2.

So the gentoo developer who prepares the tarball of docs does have to
build ghc twice, once to get eg from 6.8.3 to 6.10.1 without docs, then
build haddock and then again to build ghc with docs. But that breaks the
loop for users who are building ghc. Internally the build uses a binary
of a bootstrapping compiler, but it may be an older version than the
target one.

Duncan

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to