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

Alberto Valverde alberto at toscat.net
Sat May 27 08:29:14 UTC 2017


Hi Ben,

I've just found this email from almost a year ago. Sorry for ignoring it
until now. Given the date it was sent I think I missed it when it was fresh
while I was on vacation.

Regarding the question, I have abandoned the work I was doing on getting
cross-compilation for Windows to work since my employer decided a Windows
build for the app we were developing could wait some time and tasked me we
something else.

However, I see that Moritz is working on cross-compilation right now so
I'll try get some time to see if I can get his approach to work for our
use-case and give some feedback or help in any way.

Alberto

On Fri, Aug 26, 2016 at 4:56 PM, Ben Gamari <ben at well-typed.com> wrote:

> Alberto Valverde <alberto at toscat.net> writes:
>
> > On Thu, Jul 7, 2016 at 9:30 AM, Simon Marlow <marlowsd at gmail.com> 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.
>
> Cheers,
>
> - Ben
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20170527/7a2437b3/attachment.html>


More information about the ghc-devs mailing list