> Simon Marlow wrote:
> > [...] 4.02 will help, but I'm still using 3.02 to bootstrap
> with. [...]
>
> Manuel's 4.01 does not produce a working ghc on our Linux boxes, so I
> was trying "Little Simon's" ;-) route, but now I'm stuck:
>
> Some aeons ago I bootstrapped via .hc files, but I can't remember
> exactly how. Compiling 3.02 with --enable-hc-boot yields a working
> binary and lib*.a files, but no .hi files. The installation
> documentation
> is of no help, either. Simply copying the ones from a binary
> dist seems
> like a hack...
This is the way I did it:
- install the (non-working) ghc-3.02 bin dist.
- check out a fresh 3.02 source tree, configure with
--enable-hc-boot.
- build the .hc files using the installed 3.02 (this will
give you the .hi files in ghc/lib/* too).
- just type "make" to build the rest.
- bootstrap from the new compiler (optional).
Make sure your .hc files and .hi match at all times - otherwise you get
strange problems.
Cheers,
Simon
--
Simon Marlow
Microsoft Research Ltd., Cambridge, U.K.