-
Notifications
You must be signed in to change notification settings - Fork 15
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
No ocaml-android for 64 bit? (compiling to arm64 failing) #38
Comments
Correct. Back when I started this project there was no ARM64 Android. So there is still no support for it. |
Try change symlink to ocaml-android64 if there is any? In theory this project should be able to work with 64 bit system and I'm pretty sure I got it working for aarch64 at some point, although we ended up shpping the 32 version. If that doesn't work, consider building an Android app with 32 version if performance is not a bottleneck. |
Copy the ocaml-android32 package to ocaml-android64, fix up the contents, add a dependency from ocaml-android to ocaml-android64... and please send a PR :) |
Hey Guys, Do we now have support for Regards, |
I don’t believe 64-bit builds in the opam-cross-android. I added 64-bit support in this fork:
https://github.com/markghayden/opam-cross-android
—Mark
… On Jul 29, 2019, at 9:13 AM, skynet ***@***.***> wrote:
Hey Guys,
Sorry to bother you...
Do we now have support for ocaml-android64 ?
I need this to cross-compile facebook/flow for aarch64 on x86_64 machine.
Regards,
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#38?email_source=notifications&email_token=ABCEANSIXTLNGXJMXNEOK3DQB2RBVA5CNFSM4EG47KO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD276GCI#issuecomment-515891977>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABCEANXDWL7TN57UXEHT7LTQB2RBVANCNFSM4EG47KOQ>.
|
@markghayden Thanks for quick support 😄 Regards, |
Especially how to execute that
How and where to execute the above commands as I am unable to locate configure script in my .opam directory? |
This is what I am getting when I executed
My current opam configuration is:
Can you please have a look and let me know what I am missing. Regards, |
@akhilgupta74 did you execute the |
Following the readme, I did
and then did the configure line for aarch64, but at
opam install ocaml-android
, I get an error indicating thatocaml-android
is only compatible with a 32 bit system. (and ocaml-android is just a symlink toocaml-android32
)Is the readme wrong?
When I try to configure for aarch64 using 4.04.0+32bit, I get a segfault when trying to run the resulting binary.
The text was updated successfully, but these errors were encountered: