
On Wed, Sep 11, 2002 at 12:42:21PM +0100, Simon Marlow wrote:
- So I tried 'make install_libraries_ffi' which looks like it ought to do the right thing. I commented out the dependencies on 'install' etc. since I don't want to install anything (perhaps this could be an option? or a separate make target?).
It's a bit of a glitch with the Hugs ffi setup that it only works on an install. Something about hardwired filenames.
./ffihugs -P'{Hugs}/libraries:{Hugs}/oldlib:{Hugs}/lib/hugs' +G +L"../libraries/Hugs/Storable_aux.c" Hugs.Storable runhugs: Error occurred [...] Reading file "/home/simonmar/tmp/hugs98/lib/hugs/HugsDynamic.hs": INTERNAL ERROR: checkImportEntity2
This happened in Sigbjorn's commit to static.c last night -- it blows up on import IOExts(unsafePerformIO) (or anything else from IOExts) and affects both old and new library setups. If you roll static.c back to 1.88, this should work (though that reinstates an obscure bug in the module system).