Cross-compiling Template Haskell via -fexternal-interpreter and IPC

Ben Gamari ben at
Fri Aug 26 14:56:07 UTC 2016

Alberto Valverde <alberto at> writes:

> On Thu, Jul 7, 2016 at 9:30 AM, Simon Marlow <marlowsd at> wrote:
>> I agree, named pipes are probably a better plan, perhaps a better solution
>> overall than the way we currently pass FD numbers on the command line.  Do
>> named pipes work work as expected through wine?  We would have to be
>> careful to clean them up again afterwards.
> I've implemented IPC with named pipes and it appeared to work through wine
> but now I'm investigating an issue which causes GHC to "freeze" when
> talking to the external interpreter when it is not running on a TTY (ie: in
> a build process)

Hi Alterto,

What ever happened to this? Is there any way I can be of assistance? It
would be great to get this merged.


- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <>

More information about the ghc-devs mailing list