digitalmars.D - What's happening with Dlang on Android?
Bill Early <bill.early protonmail.com> writes:
As I suddenly have a lot of time on my hands, I want to get a couple of my D applications running on Android. I've been noodling around with D (Windows) for a number of years but haven't done anything at all on Android until this morning when I installed Termux. Starting with the instructions here https://wiki.dlang.org/Build_D_for_Android#64-bit_ARM_2 I'm attempting first to get ldc installed on my phone using Termux using the instructions under "Native compilation" apt install ldc (in short, lots of errors, not installed) apt install ldc --fix-missing (no joy, lots of errors, 404 etc) apt-get update (no joy here either, signatures could not be verified, no public key, etc) Seems that the dependencies are very stale and/or very missing. As I am just starting out and have no investment in any development infrastructure, no Xamarin, no Android Studio, what would you suggest? Back to "Cross-compilation" in the same instructions?
Adam D. Ruppe <destructionator gmail.com> writes:
On Tuesday, 24 March 2020 at 00:08:28 UTC, Bill Early wrote:I'm attempting first to get ldc installed on my phone using Termux using the instructions under "Native compilation"that just worked for me when I tried it back in September. idk who is maintaining it though....Back to "Cross-compilation" in the same instructions?If you just wanna do command line stuff, it is really easy: https://github.com/ldc-developers/ldc/releases under the assets thing, there's android builds of the new ldc release that might just work, or you can cross compile with ldc pretty easily by grabbing the version for your host OS and then borrowing the runtime libs out of the native android packages.