GHCi's search path
ganesh.sittampalam at credit-suisse.com
Wed May 13 05:17:06 EDT 2009
Peter Gammie wrote:
> On 13/05/2009, at 6:43 PM, Bayley, Alistair wrote:
>>> From: glasgow-haskell-users-bounces at haskell.org
>>> [mailto:glasgow-haskell-users-bounces at haskell.org] On Behalf Of
>>> Peter Gammie
>>> The semantics I want is:
>>> - use the Cabal-built objects/hi files in dist/build if they're
>>> fresh enough
>>> - interpret the source otherwise.
>>> Is that possible?
>> I think the -odir and -hidir options will help e.g. -odir
>> dist/build -hidir dist/build
>> om pilation.html#options-output
> I tried these too, no luck.
I've done this myself (though my objects were built by my Makefile, not
by cabal) and it works fine for me. Note that once something has
changed, everything that depends on it will be interpreted, even if it
wouldn't actually need recompiling.
Not quite sure what you can do to debug it if it's not working for you
Please access the attached hyperlink for an important electronic communications disclaimer:
More information about the Glasgow-haskell-users