:l XX libFoo.a

2001-04-26 Thread S.D.Mechveliani
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

Building nhc98-1.02 with ghc-5.00

2001-04-26 Thread Wolfhard Buß
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.

RE: :! ghc -c vs :c

2001-04-26 Thread Simon Marlow
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 ?

RE: :l XX libFoo.a

2001-04-26 Thread Simon Marlow
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

RE: :! ghc -c vs :c

2001-04-26 Thread Marcin 'Qrczak' Kowalczyk
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