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

H. S. Teoh hsteoh at quickfur.ath.cx
Fri Oct 19 21:41:48 UTC 2018


On Fri, Oct 19, 2018 at 08:54:25PM +0000, Joakim via Digitalmars-d wrote:
[...]
> 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

I tried ldc-build-runtime with --ninja and it came back with a bunch of
errors about "cortex-a8" being an unsupported target, and then
segfaulted.  So I'm going to try the "official" LDC release instead...

In the meantime, is there a particular version of the NDK that I should
use?  Currently I have android-ndk-r13b-linux-x86_64.zip installed.
Will it work?


T

-- 
I'm still trying to find a pun for "punishment"...


More information about the Digitalmars-d mailing list