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 <[email protected]> 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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ghc-devs mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to