LDC cross compilation wiki
Andre Pany via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Mon Sep 11 14:09:33 PDT 2017
On Saturday, 9 September 2017 at 19:27:38 UTC, Joakim wrote:
> On Saturday, 9 September 2017 at 12:16:58 UTC, Andre Pany wrote:
>> [...]
>
> There are tutorials like this that seem to have some info:
>
> http://gnutoolchains.com/raspberry/tutorial/
>
> I've never used the RPi so I don't know what toolchains are out
> there. You need a C toolchain for the RPi, then you specify
> the C compiler using CC, and the flags they tell you to use for
> compiling and linking get passed to ldc-build-runtime.
>
> Hopefully, we'll eventually have a preset configuration for
> some popular RPi toolchain, but someone will have to submit a
> pull for that once my pull to keep a bunch of preset
> configurations for common platforms is in:
>
> https://github.com/ldc-developers/ldc/pull/2301
With the toolchain mentioned by you and the help of kinke I got
it working. Cross compiling from Windows to Raspberry Pi looks
quite promising. I still waiting on the testrunner results, to
validate wheter it is working 100%.
Kind regards
André
More information about the digitalmars-d-ldc
mailing list