www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Using LDC2 on ARM

reply Severin Teona <teona.severin9 gmail.com> writes:
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.
Mar 02 2020
next sibling parent Daniel Kozak <kozzi11 gmail.com> writes:
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
Mar 02 2020
prev sibling next sibling parent Daniel Kozak <kozzi11 gmail.com> writes:
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
Mar 02 2020
prev sibling next sibling parent Daniel Kozak <kozzi11 gmail.com> writes:
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?
Mar 02 2020
prev sibling next sibling parent Andre Pany <andre s-e-a-p.de> writes:
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
Mar 02 2020
prev sibling next sibling parent kinke <noone nowhere.com> writes:
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.
Mar 02 2020
prev sibling parent dangbinghoo <dangbinghoo gmail.com> writes:
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.
Mar 02 2020