How to create a GHC binary bundle?

Ian Lynagh igloo at
Tue May 29 20:14:43 EDT 2007

Hi Maxime,

On Sun, May 27, 2007 at 03:58:47AM +0200, Maxime Henrion wrote:
> To be more precise, I want to know how to create the
> ghc-$version-$arch-boot.tar.bz2 file to redistribute to users so
> that they can build GHC easily, and that on a platform that already
> has a working (but older) GHC installation.
> So far, I've been able to find out that I want to use the binary-dist
> make target, and that this requires me to put BIN_DIST=1 in
> mk/  Other than that, I'm pretty much lost.

That's basically it. Assuming you're using a released GHC:

echo "BIN_DIST=1" >> mk/
make binary-dist stage=2

It doesn't currently work in the HEAD, but I'm working on that.


More information about the Glasgow-haskell-users mailing list