source-only release candidate

'Ross Paterson' ross at soi.city.ac.uk
Fri Sep 26 01:00:43 EDT 2003


On Thu, Sep 25, 2003 at 01:42:49PM -0700, David Bakin wrote:
> Did not build the fptools - do I need to?

Oh yes, this is now essential for the Prelude, the standard libraries
and many others besides.  (This accounts for problems 2 and 3.)

The conversion must be done in a Unix-like environment like cygwin
or mingw.  You will need to have built runhugs and ffihugs.  You need
to move into src and say

	mkdir -p ../hugsdir/tools ../hugsdir/include ../hugsdir/libraries/Hugs
	cp ../tools/* ../hugsdir/tools
	cp HsFFI.h config.h unix/MachDeps.h unix/template-hsc.h ../hugsdir/include
	cp ../libraries/Hugs/*.* ../hugsdir/libraries/Hugs
	cd unix
	./convert_libraries ../../fptools ../../hugsdir
	env HUGSDIR=../../hugsdir HUGSFLAGS='' ./BuildFFI

You will then need the directories ../hugsdir/libraries and
../hugsdir/oldlib (or copies of them) in your Hugs search path.


More information about the Hugs-Users mailing list