
27 Aug
2019
27 Aug
'19
1:56 p.m.
Ha! I knew about that flag but thought it was talking about OUTPUT
object code. Thank you so much, I will try that now.
Daniel Gröber
Hi,
On Tue, Aug 27, 2019 at 06:35:03PM +0100, Sam Halliday wrote:
1. Is there a way to tell ghc to prefer interface files instead of source files, if it finds them, for a TargetModule?
I think targetAllowObjCode=True [1] should do that. If you're using gussTarget and your module name doesn't have a '*' at the beginning that should be the default though.
[1]: https://hackage.haskell.org/package/ghc-8.6.5/docs/GHC.html#v:targetAllowObj...
--Daniel
-- Best regards, Sam