<p dir="ltr">Please keep us informed on the progress (and share binary if it'll work :) ). Thanks!</p>
<div class="gmail_quote">21 квіт. 2015 19:37 "Sven Bartscher" <<a href="mailto:sven.bartscher@weltraumschlangen.de">sven.bartscher@weltraumschlangen.de</a>> пише:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, 19 Apr 2015 17:42:38 +0200<br>
Joachim Breitner <<a href="mailto:nomeata@debian.org">nomeata@debian.org</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> Am Sonntag, den 19.04.2015, 16:15 +0200 schrieb Sven Bartscher:<br>
> > I'm trying to get a haskell program to run on a raspberry pi (running<br>
> > raspbian). Unfortunately it requires template haskell.<br>
> > Since the GHC included in raspbian wheezy doesn't support TH I'm trying<br>
> > to compile GHC 7.8.4 on the rpi.<br>
> > Most of the compilation worked fine. I got problems with the memory<br>
> > consumption, but adding a lot of swapspace solved this problem.<br>
> > During the final phase the compilation process complains about a<br>
> > "strange closure type 49200" (the exact number is varying, but most<br>
> > often it's 49200).<br>
> > Does anyone here have experience, how to compile GHC 7.8 on a raspberry<br>
> > pi?<br>
> ><br>
> > As a side note: The compilation is running in QEMU while the compiled<br>
> > program should run on a real rpi.<br>
><br>
> you might be interested in the patches that Debian applies to GHC, in<br>
> particular the ARM-related one, even more in particular the one that<br>
> enforces the use of gold as the linker:<br>
> <a href="https://sources.debian.net/src/ghc/7.8.20141223-1/debian/patches/" target="_blank">https://sources.debian.net/src/ghc/7.8.20141223-1/debian/patches/</a><br>
<br>
Many thanks. I will try that, but it will take some time, until I know<br>
whether it worked.<br>
<br>
Regards<br>
Sven<br>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div>