Skip to content

libiconv libffi build by android ndk 14 on OSX, see dist dir.

License

Notifications You must be signed in to change notification settings

XiaogeTek/ghc-build-scripts

 
 

Repository files navigation

ghc-build-scripts

Script collection for building ghc cross compiler for mobile development

building mobile ghc(s)

The build-mobile-ghcs script is supposed to be use as follows:

ghc $ path/to/ghc-build-scripts/build-mobile-ghcs /prefix/path/mobile-ghc /path/to/libiconv /path/to/clang

And requires https://github.com/angerman/ghc-ios-scripts to be in $PATH, as well as having libiconv built for both android platforms (iOS comes with libiconv). Also path/to/clang should be a rather recent (read patched) clang for iOS to work without the need to disable -dead_strip. Running the script takes about an hour on my iMac, ymmv.

and will result in ghcs for:

Name Platform
aarch64-apple-darwin14 iOS/64bit arm
armv7-none-linux-androiedabi Android/32bit arm
aarch64-none-linux-android Android/64bit arm

About

libiconv libffi build by android ndk 14 on OSX, see dist dir.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 59.8%
  • Shell 21.2%
  • C++ 5.8%
  • M4 4.3%
  • Makefile 4.0%
  • Roff 2.0%
  • Other 2.9%