Ehem, ARM

Paulo Pinto pjmlp at progtools.org
Thu Nov 14 23:22:06 PST 2013


On Friday, 15 November 2013 at 06:18:00 UTC, Joakim wrote:
> On Friday, 15 November 2013 at 00:18:50 UTC, Martin Nowak wrote:
>> On 11/14/2013 05:14 PM, Kai Nacke wrote:
>>> But this is only half of the story. My target is Linux/ARM 
>>> which is
>>> already supported by druntime/phobos. If you target a 
>>> smartphone then
>>> you also have to add Android or iOS support to 
>>> druntime/phobos.
>>
>> Currently version (linux) in druntime is equivalent to glibc.
>> Porting druntime to bionic or newlib might be quite an effort 
>> but I have no concrete idea what issues to expect.
>
> As Kai says, has anyone worked on getting D running on Android 
> before?  I've been thinking about attempting an Android port 
> for years.  I thought I'd spin up some x86 VMs this weekend and 
> take a crack at getting D working on Android/x86 
> (http://www.android-x86.org/) as a first step.  If anyone has 
> started on this already, I could chip in on their branch.
>
> Also, does dmd have any support for cross-compilation or is it 
> better to stick to ldc/gdc when cross compiling to Android?
>
> On a related note, it looks like Rust was ported to Android/ARM 
> earlier this year:
>
> https://github.com/mozilla/rust/wiki/Doc-building-for-android

Yes, have a look at an initial port of GDC to Android

https://bitbucket.org/goshawk/gdc/wiki/GDC%20on%20Android


More information about the Digitalmars-d mailing list