Ever want to compile D on your Android phone? Well, now you can!
Vadim Lopatin via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Tue Jan 26 23:01:30 PST 2016
On Sunday, 24 January 2016 at 15:12:30 UTC, Joakim wrote:
> An alpha release of ldc, the llvm-based D compiler, for Android
> devices is now available. It is best used with the excellent
> Termux app
> (https://play.google.com/store/apps/details?id=com.termux&hl=en) and a bluetooth keyboard. ;) Updated test runners, that run most tests from the standard library on any Android device, are also available (results have been reported for everything from a TomTom BRIDGE GPS navigation device to a Huawei Watch):
>
> https://github.com/joakim-noah/android/releases/tag/polish
>
Cannot build ldc for Android according to instructions
http://wiki.dlang.org/Build_LDC_for_Android
git clone --recursive https://github.com/ldc-developers/ldc.git
cd ldc/
git submodule update
curl -O https://gist.githubusercontent.com/joakim-
noah/63693ead3aa62216e1d9/raw/b89d77d66a80206b4dd3d78bb10d83a7e368f3d4/ldc_android_arm
git apply ldc_android_arm
Patch cannot be applied to current ~master
I've tried to checkout several recent tagged versions - doesn't
work too.
Probably it's applicable only to some particular LDC version.
What version of ldc should I checkout to apply this patch?
(Building LDC on Windows)
More information about the Digitalmars-d-announce
mailing list