ghc-android
ghc-android copied to clipboard
Build scripts for building ghc cross compilers targeting Android
Hello. I am trying to compile the android-haskell-activity example. I get this error: ``` $ arm-linux-androideabi-cabal install Configuring HaskellActivity-0.1.0.0... Building HaskellActivity-0.1.0.0... Preprocessing executable 'libhaskell.so' for HaskellActivity-0.1.0.0... [1 of 1] Compiling...
Curl was unable to download GHC because of redirects. This is a small fix for that issue.
I have a problem with ghc-android. Basically whenever I try to link _executable_ (libraries are fine) I get the following error: /home/tener/dokumenty/projekty/mygame/ghc-for-android/ghc-android-joeyh/installdir/.ghc/android-14/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: fatal error: /home/tener/dokumenty/projekty/mygame/ghc-for-android/ghc-android-joeyh/demo/foreign-jni/.cabal-sandbox/lib/arm-linux-android-ghc-7.8.2/foreign-jni-0.1.0.0/libHSforeign-jni-0.1.0.0.a(JNI.o): unsupported ELF machine number 0...
I would like to use this for a project, but I'm unsure what license it uses. I may need to modify and redistribute the script with my project. Can you...
ghc-android builds with 'DYNAMIC_GHC_PROGRAMS = NO', hence uses GHCs builtin linker, whose arm support is inclomplete. This leads to error cases such as: ``` $ arm-linux-androideabi-cabal install --reinstall --force-reinstall vector...
following your build on windows 8 running virtualbox with the most recent x64 debian, following the tutorial in the ghc-android/Readme.md root@debian:~/ghc-android# ./build fails with Unable to find a source for...
Building the full cross compiler with template-haskell support takes quite a while because it is in effect a stage 3 compiler. I think a binary distribution would really help lower...
The hsc2hs wrapper script is missing --cc and --ld flags. The current one generates code for the host CC compiler. I updated mine to # /bin/bash exec /usr/bin/hsc2hs --cc=arm-linux-androideabi-gcc --ld=arm-linux-androideabi-ld...
The build script is failing while attempting to patch the latest version of GHC. The failing patch is ghc-fix-sync-all.patch and it fails complaining that "Hunk #1 FAILED at 790.".
I am building ghc-android in linux mint. When running the build script I get an error : ghc-cabal: At least the following dependencies ar missing: array ==0.5.\* . But I...