neurocyte / ghc-android

Build scripts for building ghc cross compilers targeting Android
182 stars 29 forks source link

./build --x86 failed - `i686-linux-android': system `android' not recognized #21

Closed apeyroux closed 11 years ago

apeyroux commented 11 years ago

Having followed the tutorial. Compilation for arm works well. By wanting to compile against x86 I have this error message.

androidbuilder@x220:~$ cd ghc-android/
androidbuilder@x220:~/ghc-android$ ./build --x86
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i686-linux-android-strip... i686-linux-android-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for i686-linux-android-gcc... i686-linux-android-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-linux-android-gcc accepts -g... yes
checking for i686-linux-android-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i686-linux-android-gcc... none
checking how to run the C preprocessor... i686-linux-android-gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for strip... /usr/bin/strip
checking for i686-linux-android-strip... (cached) i686-linux-android-strip
checking build system type... i486-pc-linux-gnu
checking host system type... Invalid configuration `i686-linux-android': system `android' not recognized
configure: error: /bin/bash build-aux/config.sub i686-linux-android failed```
Kludgy commented 11 years ago

Might be related to this: https://github.com/neurocyte/ghc-android/issues/16

apeyroux commented 11 years ago

Thx sorry.