Need help with setting up LDC to cross-compile to Android/ARM

Joakim dlang at joakim.fea.st
Fri Oct 19 20:54:25 UTC 2018


On Friday, 19 October 2018 at 20:50:36 UTC, Joakim wrote:
> On Wednesday, 17 October 2018 at 21:23:21 UTC, H. S. Teoh wrote:
>> I'm trying to follow the instructions on this page:
>>
>> 	https://wiki.dlang.org/Build_D_for_Android
>>
>> [...]
>
> Hmm, that's weird: can you extract the full compiler command 
> for that file? For example, if you use Ninja, by appending 
> --ninja to ldc-build-runtime, it will tell you the full command 
> that failed. Not sure if Make has a way to get that too.

Also, if you're using a system-provided LDC, it may not support 
Android, if it wasn't built against our slightly tweaked llvm:

https://github.com/ldc-developers/llvm

In that case, use the LDC download from github instead:

https://github.com/ldc-developers/ldc/releases


More information about the Digitalmars-d mailing list