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.
-- Dave from toplevel makefile: find fptools/libraries -name "*.ly" -o -name "*.y" | xargs -l happy find fptools/libraries -name "*.hsc" | xargs -l hsc2hs --no-compile find fptools/libraries -name "*_hsc_make.c" | xargs src/unix/hsc_kludge -- Dave ----- Original Message ----- From: "'Ross Paterson'" <[EMAIL PROTECTED]> To: "David Bakin" <[EMAIL PROTECTED]> Cc: "Mark P Jones" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, September 25, 2003 4:00 PM Subject: Re: source-only release candidate > 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. _______________________________________________ Hugs-Users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/hugs-users
