Building ghc-5.00.2 from .hc files

Simon Marlow simonmar@microsoft.com
Tue, 26 Feb 2002 12:09:03 -0000


> I have tried do build ghc-5.00.2 from .hc files. I run=20
> ditrib/hc-build,
> but it fails:
>=20
> --------------------------------------------------------------
> ----------
> =3D=3D=3Dfptools=3D=3D Finished making `all' in cbits ...
> PWD =3D /tmp/ghc-5.00.2/hslibs/lang
> --------------------------------------------------------------
> ----------
> make[1]: *** No rule to make target `Addr.o', needed by `libHSlang.a'.
> Stop.
> make: *** [all] Error 1
> make: Leaving directory `/tmp/ghc-5.00.2/hslibs'
>=20
> My box is ix86 running Linux (but I could not use binary version of
> ghc).
> Could you tell me what I should do to compile it from .hc files ?

Building from .hc files is not very well supported, and is a highly =
involved process in 5.xx.  If you really can't use any of the binary =
distributions, I suggest starting from 4.08.2 which should be a lot =
smoother to bootstrap from .hc files.

Cheers,
	Simon