ghc-ios / ghc-ios-scripts

Scripts for building GHC and Haskell programs for iOS
167 stars 27 forks source link

Where is "arm-apple-darwin10-ghc" and " i386-apple-darwin11-ghc"? #7

Open omomuron opened 10 years ago

omomuron commented 10 years ago

HI. I ran "ghc-ios Counter" as sample. But this error occurred.

/usr/local/ghc-ios-scripts/ghc-ios: line 10: arm-apple-darwin10-ghc: command not found /usr/local/ghc-ios-scripts/ghc-ios: line 11: i386-apple-darwin11-ghc: command not found fatal error: lipo: can't open input file: build/arm/Counter.a (No such file or directory)

Where is "arm-apple-darwin10-ghc" and " i386-apple-darwin11-ghc"? There are not these scripts in this repository.

Thanks!

mhuesch commented 9 years ago

I think that those should have been installed when you ran the install script. (This I deduce from https://ghc.haskell.org/trac/ghc/wiki/Building/CrossCompiling/iOS. I'm not involved with this project but have been playing with it).

For example, on my system: $ which arm-apple-darwin10-ghc /usr/local/bin/arm-apple-darwin10-ghc

Perhaps /usr/local/bin needs to be on your path?