[jhc] failure with precompiled libs?
stefanor at cox.net
Sun Feb 4 23:35:23 EST 2007
On Sun, Feb 04, 2007 at 08:12:28PM -0800, John Meacham wrote:
> In general, I try to keep the libraries compatable with the last
> 'tagged' version of the repository, if that is not the case, then I need
> to fix it. It very well might be broken at the moment, as I recently
> switched to using the new Data.Binary serialization library and using
> zlib for compression, so
Nice to know. I didn't get that impression from the libraries page - it
might be a good idea to add a note "the libraries are intended for use
with the latest tag".
> in any case, rather than using the libraries, you can compile with
> --noauto -Llib/base -Llib/haskell98 to use the source files for the
> library directly. this is generally recommended for development of jhc
That doesn't seem to work.
stefan at stefans:/usr/local/src/jhc$ ./jhc --noauto -Llib/base -Llib/haskell98 -flint -v test/HelloWorld.hs
jhc --noauto -Llib/base -Llib/haskell98 -flint -v test/HelloWorld.hs
Loading libraries: 
Found dependency: test/HelloWorld.hs at test/HelloWorld.hs
Error: Module not found: Jhc.Prim
stefan at stefans:/usr/local/src/jhc$
Adding -Llib/jhc does not help, nor does find . -name *.ho -delete.
I suppose I should also mention that when I ^C'd and restarted the library
build (to change RTS options - turns out I don't have enough RAM to build the
libraries without +RTS -c, and even with it's a tight squeeze), Jhc found existing
.ho files, skipped most of the messages, ground for a few minutes, and bombed out
with a Handle-misuse related error (which I unfortunately cannot remember).
Is this another known infelicity?
Thanks for the attention.
More information about the jhc