[Haskell-beginners] building ghc for cross-platform raspberry pi (ubuntu)

Hercules Merscher hlmerscher at gmail.com
Tue Nov 25 14:23:20 UTC 2014


Looks like that your gcc version is lesser than 3.0.

On Fri, Nov 21, 2014 at 9:13 PM, Miro Karpis <miroslav.karpis at gmail.com>
wrote:

> Hi, I'm trying to build ghc for raspberry pi, but I'm having problem with
> .configure. I'm following these instructions from (
> https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/RaspberryPi).
>
> I have the tools installed and they should be also in my PATH,.....
>
> Please any ideas?
>
>
>
> ghc> ./configure --target=arm-linux-gnueabihf --enable-unregisterised
> checking for gfind... no
> checking for find... /usr/bin/find
> checking for sort... /usr/bin/sort
> checking for GHC version date... inferred 7.9.20141121
> checking for ghc... /usr/bin/ghc
> checking version of ghc... 7.6.3
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking target system type... arm-unknown-linux-gnueabihf
> Build platform inferred as: x86_64-unknown-linux
> Host platform inferred as: x86_64-unknown-linux
> GHC build  : x86_64-unknown-linux
> GHC host   : x86_64-unknown-linux
> GHC target : arm-unknown-linux
> configure: Building in-tree ghc-pwd
> checking for path to top of build tree... /home/parallels/code/ghc
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for arm-linux-gnueabihf-gcc...
> /home/parallels/code/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc
> checking for arm-linux-gnueabihf-ld...
> /home/parallels/code/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-ld
> checking for arm-linux-gnueabihf-nm...
> /home/parallels/code/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-nm
> checking for arm-linux-gnueabihf-ar...
> /home/parallels/code/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-ar
> checking for arm-linux-gnueabihf-ranlib...
> /home/parallels/code/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-ranlib
> checking for llc... no
> checking for opt... no
> checking whether #! works in shell scripts... yes
> checking for perl... /usr/bin/perl
> checking version of gcc... configure: error: Need at least gcc version 3.0
> (3.4+ recommended)
>
>
> Regards,
> Miro
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>


-- 
Hercules Lemke Merscher
http://www.herculesdev.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20141125/646579e9/attachment.html>


More information about the Beginners mailing list