On 25/01/13 11:23, Neil Davies wrote:
Simon

Looking at the wiki - I take it that the stage 1 compiler can now be used as 
"native" compiler on the RPi? (last line of entry)?

Do you mean the stage 2 compiler? If so yes - in principle. But in practice the binary-dist machinery doesn't work properly for cross-compilers yet, so it's hard to install it on the RPi. If you have a shared network filesystem then perhaps 'make install' works, or if you copy the build tree to your RPi at the same location as your build machine, then maybe it will work.

Cheers,
        Simon



Neil

On 25 Jan 2013, at 10:46, Simon Marlow <[email protected]> wrote:

FYI, I created a wiki page for cross-compiling to Raspberry Pi:

http://hackage.haskell.org/trac/ghc/wiki/Building/Preparation/RaspberryPi

I have an unregisterised build using LLVM working now (it just worked, modulo 
the tiny fix for #7622).

Cheers,
        Simon

On 21/01/13 16:06, Karel Gardas wrote:
On 01/21/13 04:43 PM, [email protected] wrote:
So the binary-dist has a settings.in file. It is the configure step in
the binary-dist that generates the corrupt settings file.

Perhaps you've forgotten to regenerate bin-dist configure as you did
with build tree configure after applying my patch?

I'll try to poke around to see where and why the stage2 compiler and the
binary-dist compiler differ.

Please post your findings here, I'm really curious what is the culprit
here...

Karel



_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to