D for Android beta

Joakim dlang at joakim.fea.st
Mon Mar 19 04:10:35 UTC 2018


On Wednesday, 30 August 2017 at 07:09:05 UTC, Joakim wrote:
> On Saturday, 26 August 2017 at 09:59:33 UTC, Joakim wrote:
>> On Thursday, 1 June 2017 at 19:45:17 UTC, Ali Çehreli wrote:
>>> Very exciting! :)
>>>
>>> On 06/01/2017 12:31 PM, Joakim wrote:
>>>
>>> > I will write up instructions on how to write an Android app
>>> in D _on_
>>> > your Android device
>>>
>>> I hope it will be detailed enough for people who are very new 
>>> to programming on the Android.
>>>
>>> Ali
>>
>> I've finally written up full instructions on building D apps 
>> for Android by using the linux cross-compiler or native 
>> Android compiler I provide:
>>
>> https://wiki.dlang.org/Build_D_for_Android
>>
>> The upcoming ldc 1.4 beta will be the first to include Android 
>> cross-compilation support for all supported host platforms, ie 
>> Windows, Mac, and linux, as all my Android patches have now 
>> been merged.  I'll stop putting out my own cross-compiler 
>> builds, though I'll maintain the native ldc package in the 
>> Termux package repo, once that's accepted.
>>
>> If you want to build full OpenGLES GUI Android apps on your 
>> Android device, this wiki page shows you how to do that too.  
>> You too can be one of the elite few building mobile apps on 
>> your mobile device, and in D!
>
> And there is now an ldc package in the Termux Android app, 
> updated the wiki page to show how simple it is to install ldc 
> on your Android device now:
>
> https://wiki.dlang.org/Build_D_for_Android#Native_compilation_2
>
> Make sure to tell everyone you know how easy it is to write D 
> on your Android smartphone or tablet now, just like the Go 
> people have been enjoying:
>
> https://mobile.twitter.com/mattbostock/status/896923877711814657
>
> The Termux twitter highlights those now happy about using Node, 
> Clojure, or Scala on their Android phone, hopefully D is next:
>
> https://mobile.twitter.com/termux
>
> Next up, getting D working on 64-bit ARM devices, which I 
> recently got access to.  David has been working on it already, 
> hope we can get that done by ldc 1.5:
>
> https://github.com/ldc-developers/ldc/issues/2153

I've updated the wiki page with instructions for cross-compiling 
from macOS:

https://wiki.dlang.org/Build_D_for_Android#Mac

I forgot to mention in here that I added instructions for Windows 
six months back.

I'm looking at 64-bit AArch64 support, where pretty much all the 
druntime tests pass with ldc 1.8 because of the great work of 
David, Kai, and others. The few failures are likely related to 
emulated TLS not being tied into the GC yet. I'll be working on 
this port this week.



More information about the Digitalmars-d-announce mailing list