How to create a GHC binary bundle?

Maxime Henrion mux at FreeBSD.org
Wed May 30 19:48:28 EDT 2007


Ian Lynagh wrote:
> 
> 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/build.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/build.mk
> ./configure
> make
> make binary-dist stage=2
> 
> It doesn't currently work in the HEAD, but I'm working on that.

Thanks Ian!  I'm glad to finally know the precise incantations
needed to build a GHC binary bundle :-).  And while I'm here, thanks
to Simon for letting me know my mail wasn't just ignored.

I guess it's now time to update the FreeBSD GHC port to 6.6.1!

Cheers,
Maxime


More information about the Glasgow-haskell-users mailing list