Re: Error building ghc on raspberry pi.

2013-01-09 Thread roconnor
This is the settingings file: $ cat settings [("GCC extra via C opts", " -fwrapv"), ("C compiler command", "/usr/bin/gcc"), ("C compiler flags", " -fno-stack-protector -Wl,--hash-size=31 -Wl,--reduce-memory-overheads"), ("ar command", "/usr/bin/ar"), ("ar flags", "q"), ("ar supports at fil

Re: (mips64el) Cross-building GHC

2013-01-09 Thread Stephen Paul Weber
Somebody claiming to be jug...@lavabit.com wrote: I would like to port GHC to mips64el. I have never tried cross-building before. So I will probably post more questions later. Awesome. I have a MIPS-based netbook (lemote yeelong thing) and got the GHC port from Debian on it, but of course it'

(mips64el) Cross-building GHC

2013-01-09 Thread jugree
Hello. I would like to port GHC to mips64el. I have never tried cross-building before. So I will probably post more questions later. Actually, I am not sure that I am using the right term. I am going to use my i686 machine to build GHC for mips64el. In terms of this page(0): B = i686-unknown-lin

Re: Error building ghc on raspberry pi.

2013-01-09 Thread Karel Gardas
Hi, find ghc's generated settings file. What FPU is used there? Thanks, Karel On 01/ 9/13 09:47 PM, rocon...@theorem.ca wrote: Thanks for the advice; However, it had little effect. I now have the errors: ===--- building final phase make -r --no-print-directory -f ghc.mk phase=final all LD l

Re: Error building ghc on raspberry pi.

2013-01-09 Thread roconnor
Thanks for the advice; However, it had little effect. I now have the errors: ===--- building final phase make -r --no-print-directory -f ghc.mk phase=final all LD libraries/ghc-prim/dist-install/build/HSghc-prim-0.3.0.0.o /usr/bin/ld: error: libraries/ghc-prim/dist-install/build/GHC/PrimopWra