neurocyte / ghc-android

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

Cabal compiles Setup.hs with cross-compiler #34

Closed rhaps0dy closed 9 years ago

rhaps0dy commented 9 years ago

And I get the following error

/home/androidbuilder/.ghc/android-21/arm-linux-androideabi-4.8/cabal/setup-exe-cache/setup-Configure-Cabal-1.22.2.0-arm-linux-android-ghc-7.10.1: 1: /home/androidbuilder/.ghc/android-21/arm-linux-androideabi-4.8/cabal/setup-exe-cache/setup-Configure-Cabal-1.22.2.0-arm-linux-android-ghc-7.10.1: Syntax error: word unexpected (expecting ")")

How can I compile Setup.hs with a host compiler and still build packages for the target?

rhaps0dy commented 9 years ago

Nevermind, when I used master instead of the debian stable branch, it worked.