Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Is GHC on iOS possible 2021? #4

Open
webmonarch opened this issue Sep 30, 2021 · 0 comments
Open

Question: Is GHC on iOS possible 2021? #4

webmonarch opened this issue Sep 30, 2021 · 0 comments

Comments

@webmonarch
Copy link

webmonarch commented Sep 30, 2021

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant