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