source-only release candidate
'Ross Paterson'
ross at soi.city.ac.uk
Fri Sep 26 02:46:01 EDT 2003
On Thu, Sep 25, 2003 at 04:46:55PM -0700, David Bakin wrote:
> w.r.t. fptools - can you explain what I need here. The first line seems to
> be running happy over parser.y - but I thought there was already an
> up-to-date good parser.c in src. The second line seems to be running a
> program called hsc2hs - which is in the ghc distribution - but it appears to
> be doing unix-ish stuff. How do I build the fptools for win32? A lot of the
> makefiles seem ghc-specific. I guess the issue is that I'm willing to try
> this out on win32 (esp. as I didn't see anyone else say they're trying it)
> but I'm unfamilar with the tree. I do have cygwin & ghc 5.02 installed if
> they are necessary to build hugs.
The top-level Makefile is used to build source distributions (like the
one you have) and Red Hat packages -- you don't need it. You also don't
need the Makefiles inside fptools.
The library modules inside fptools in a source package have already been
preprocessed with happy and hsc2hs, so you don't need those (or ghc)
to build Hugs. You will however need cygwin to run the commands that
convert the fptools libraries. But on second thoughts the steps I gave
won't work, because they need some files created by configure. I think
you need to do what's in src/unix/README, except that there are more
generated files now than when that was written. So my next suggestion is
cd src/unix
../msc/config.sh
cd ..
make
More information about the Hugs-Users
mailing list