> It seems I always have to do this:
> 
> cvs -d... checkout fpconfig
> cd fptools
> cvs checkout ghc hslibs happy  # and maybe some other projects
> autoconf
> (cd ghc; autoconf)   # not mentioned in documentation
> ./configure
> make boot            # no longer needed, apparently
> make all
> 
> Comments:
> 
> 1) The 2 calls to autoconf aren't mentioned at all on the CVS 
> cheat sheet.
>    (but it does mention configure)

It doesn't say anything about the build process, that is covered in the
Building Guide.  Due to an oversight, we lost the building guide from
the web site before the 5.00 release, but it should be back now.  See

        
http://www.haskell.org/ghc/docs/latest/building/building-guide.html

> 2) The 2nd call to autoconf doesn't seem to be mentioned 
> anywhere in the
>    GHC documentation.

It is mentioned in the Building Guide.

> 3) The "make boot" is apparently not needed any more - but it's still 
>    part of the CVS instructions.

I've removed it.   Thanks.

> 4) I think it'd be really, really useful to include a short 
> sequence of
>    commands (like the ones I list) which show how to get and build GHC
>    from scratch.
>    [Obviously those commands shouldn't assume you already 
> have the latest
>    installation of Happy.]

Well, fptools/README says './configure; make; make install', which is
correct for a source distribution.  For CVS, all that is needed is the
extra autoconf in fptools and fptools/ghc.  However, in most cases
you'll want to do something more complicated like create mk/build.mk,
and run configure with some options.  The Building Guide has the
details.

Cheers,
        Simon

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to