Cross build for RPi2(3)
Joakim via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Wed Jun 7 15:32:41 PDT 2017
On Wednesday, 7 June 2017 at 21:52:50 UTC, Oleg B wrote:
> Thank you, Joakim!
>
> You know why is still no out-of-box solution? Why patches of
> ldc, phobos and druntime needed for android/arm compilation?
ldc doesn't require any patching, it just patches the CMake
config for druntime and phobos that comes in the ldc repo. As
for the rest, still some small tweaks that need to be upstreamed,
detailed here:
https://github.com/joakim-noah/android/releases
It is pretty easy to build an ldc cross-compiler from source, but
it still requires a little patching, going to submit a pull for
that soon. However, that's just from source, making it possible
to cross-compile a stdlib using the pre-built compiler is another
challenge.
More information about the digitalmars-d-ldc
mailing list