> 
> I tried, but it seems to complete successfully. Nevertheless, later
> make all fails with the same message.
> Probably the dependencies generated by make boot (or make depend, for
> that matter) _are_ circular (citing from ghc/compiler/.depend):
> 
> utils/FastString.o : basicTypes/Unique.hi
> 
> basicTypes/Unique.o : utils/Pretty.hi
> 
> utils/Pretty.o : utils/FastString.hi

My guess is that you have not got the line
        
        Ghc2_0    = YES

in your build.mk file.  GHC 2.x uses a different way of dealing with
mutual recursion (via M.hi-boot files) than GHC 0.29 (which used M.lhi files).

When you make that change to build.mk you'll need to do a make depend again.

Yes, this should be documented.

Remember, don't bother to use 2.06 or earlier for self-booting.  Only
2.07 is up to it.

Simon

Reply via email to