Skip to content

Question: Is GHC on iOS possible 2021? #4

Description

@webmonarch

I caught the bug of wanting to do some iOS development with Haskell and started down the rabbit hole of getting GHC compiled for iOS aarch64. I was starting from the post https://medium.com/@zw3rk/a-haskell-cross-compiler-for-ios-7cc009abe208

I am running into a number of "implicit function" errors when trying to compile 8.10.7. I tried tweaking some #if defined directives but the hole keeps getting deeper and my C and C tooling is woefully out of date.

Questions:

  1. Is compiling GHC possible on iOS these days?
  2. The blog post mentions a patched branch of GHC, but it doesn't look to exist any more
  3. Opinion: How problematic do you think this path will be of Haskell compiling to aarch64 ios? Do you think PureScript in a JSContext would be smoother?

Thanks for the expertise!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions