The :load command of the ghc-5.00 interpreter
first searches the needed compiled modules (*.o) and loads them
when finds.
But how to make it to search them in the object code library
xxx/libFoo.a ?
For it is better to keep the fixed *.o files in a library.
And `:load' works in the above
Hello,
the building of nhc98-1.02 with ghc-5.00 aborts
with the message:
Main.hs:8:
Failed to find interface decl for
`PrelGHC.(#,,#)'
from module `PrelGHC'
Any hints for interpretation?
Kind regards,
Wolfhard.
The ghc interactive ghci compiles the module by the command
:! ghc -c
Has it sense to provide a command :compile (:c),
having a meaningful name and a format similar to other commands,
like say :load
?
The :load command of the ghc-5.00 interpreter
first searches the needed compiled modules (*.o) and loads them
when finds.
But how to make it to search them in the object code library
xxx/libFoo.a ?
For it is better to keep the fixed *.o files in a library.
And `:load' works in
On Thu, 26 Apr 2001, Simon Marlow wrote:
Yes, this is another thing we'd like to do, but haven't got around to
yet. (you can always define your own :compile command using :def of
course, but the benefit of a built-in one would be that it could take
advantage of the in-memroy interfaces