On 13/05/2009, at 6:43 PM, Bayley, Alistair wrote:
From: glasgow-haskell-users-boun...@haskell.org
[mailto:glasgow-haskell-users-boun...@haskell.org] On Behalf
Of Peter Gammie
http://haskell.cs.yale.edu/ghc/docs/latest/html/users_guide/se
parate-compilation.html#search-path
GHCi is not overly keen to go looking for modules in directories
different to where the source resides.
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
http://haskell.cs.yale.edu/ghc/docs/latest/html/users_guide/separate-com
pilation.html#options-output
I tried these too, no luck.
cheers
peter
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users