Simon L Peyton Jones writes:
> >
> > 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).
No, I had this line in my build.mk from the beginning. For the record,
here goes my builld.mk:
----------------------------------------
GhcBuilderVersion = 207
WithGhcHc = ghc-2.07
Ghc2_0=YES
GhcWithHscBuiltViaC=NO
----------------------------------------
>
> Remember, don't bother to use 2.06 or earlier for self-booting. Only
> 2.07 is up to it.
>
Yes, I use 2.07 (or so it seems):
[08:53:35] ben@kawa:~> ghc --version
The Glorious Glasgow Haskell Compilation System, version 2.07,patchlevel 0
BTW, when you are so kind as to answer my not-so-wise questions, what
is the 'proper' way of getting a .dvi from literate sources? I could
not find anything in the docs, and my attempts to follow the
literate/README fail at the make stage already.
Regards,
Marcin Benke
----------------------------------------------------------------------------
"Calm down, it's only ones and zeros!" - DJ Delorie