seeing home module dependencies

Sam Halliday sam.halliday at gmail.com
Tue Aug 27 17:56:39 UTC 2019


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 <dxld at darkboxed.org> writes:

> 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:targetAllowObjCode
>
> --Daniel

-- 
Best regards,
Sam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20190827/35314bce/attachment.sig>


More information about the ghc-devs mailing list