Thread overview
Using LDC2 on ARM
Mar 02, 2020
Severin Teona
Mar 02, 2020
Daniel Kozak
Mar 02, 2020
Daniel Kozak
Mar 02, 2020
Daniel Kozak
Mar 02, 2020
Andre Pany
Mar 02, 2020
kinke
Mar 03, 2020
dangbinghoo
March 02, 2020
Hello,

I am working on a project that uses a Raspberry Pi (armv7l) and the latest LDC version I found for this architecture is 1.13.0. Can you help me install the latest version(1.20.0)?

Also, I'm having problems using the DPP package with the 1.13.0 LDC version, most likely because the latest version of DPP(0.4.1) is using a newer version of Phobos.

Is there any reason why the LDC team stopped releasing pre-built binaries for arm?

I'm looking forward to your help.
Teona.
March 02, 2020
On Mon, Mar 2, 2020 at 6:50 PM Severin Teona via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote:
>
> Hello,
>
> I am working on a project that uses a Raspberry Pi (armv7l) and
> the latest LDC version I found for this architecture is 1.13.0.
> Can you help me install the latest version(1.20.0)?
>
> Also, I'm having problems using the DPP package with the 1.13.0 LDC version, most likely because the latest version of DPP(0.4.1) is using a newer version of Phobos.
>
> Is there any reason why the LDC team stopped releasing pre-built binaries for arm?
>
> I'm looking forward to your help.
> Teona.

Do you really need to build you app on arm, could not you use crosscompiling?
March 02, 2020
On Mon, Mar 2, 2020 at 7:40 PM Daniel Kozak <kozzi11@gmail.com> wrote:
>
> On Mon, Mar 2, 2020 at 6:50 PM Severin Teona via Digitalmars-d-learn
> Do you really need to build you app on arm, could not you use crosscompiling?

https://wiki.dlang.org/Cross-compiling_with_LDC
March 02, 2020
On Mon, Mar 2, 2020 at 7:40 PM Daniel Kozak <kozzi11@gmail.com> wrote:
>
> On Mon, Mar 2, 2020 at 6:50 PM Severin Teona via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote:
> >
> > Hello,
> >
> > I am working on a project that uses a Raspberry Pi (armv7l) and
> > the latest LDC version I found for this architecture is 1.13.0.
> > Can you help me install the latest version(1.20.0)?
> >
> > Also, I'm having problems using the DPP package with the 1.13.0 LDC version, most likely because the latest version of DPP(0.4.1) is using a newer version of Phobos.
> >
> > Is there any reason why the LDC team stopped releasing pre-built binaries for arm?
> >
> > I'm looking forward to your help.
> > Teona.
>
> Do you really need to build you app on arm, could not you use crosscompiling?

But if you really wan to compile it on RPI you could try use archlinuxarm and ldc package: https://archlinuxarm.org/packages/armv7h/ldc
March 02, 2020
On Monday, 2 March 2020 at 17:45:26 UTC, Severin Teona wrote:
> Hello,
>
> I am working on a project that uses a Raspberry Pi (armv7l) and the latest LDC version I found for this architecture is 1.13.0. Can you help me install the latest version(1.20.0)?
>
> Also, I'm having problems using the DPP package with the 1.13.0 LDC version, most likely because the latest version of DPP(0.4.1) is using a newer version of Phobos.
>
> Is there any reason why the LDC team stopped releasing pre-built binaries for arm?
>
> I'm looking forward to your help.
> Teona.

Ldc2 version 1.17 is available here https://github.com/ldc-developers/ldc/releases/download/v1.17.0/ldc2-1.17.0-linux-armhf.tar.xz

If you have a raspberry 3 you can also switch to aarch64. Aarch64 binaries are available for every new release of ldc2 on the github release page.

Kind regards
Andre
March 02, 2020
On Monday, 2 March 2020 at 17:45:26 UTC, Severin Teona wrote:
> Is there any reason why the LDC team stopped releasing pre-built binaries for arm?

It's the only package that isn't auto-generated by CI services and requires manual steps in a painfully slow qemu environment, a process that takes hours and which I wasn't willing to keep up any longer.

March 03, 2020
On Monday, 2 March 2020 at 17:45:26 UTC, Severin Teona wrote:
> Hello,
>
> I am working on a project that uses a Raspberry Pi (armv7l) and the latest LDC version I found for this architecture is 1.13.0. Can you help me install the latest version(1.20.0)?
>
> Also, I'm having problems using the DPP package with the 1.13.0 LDC version, most likely because the latest version of DPP(0.4.1) is using a newer version of Phobos.
>
> Is there any reason why the LDC team stopped releasing pre-built binaries for arm?
>
> I'm looking forward to your help.
> Teona.

please refer to https://wiki.dlang.org/Programming_in_D_tutorial_on_Embedded_Linux_ARM_devices

you can build your own LDC toolchain always using the latest.