Re: Using LDC2 on ARM

2020-03-02 Thread dangbinghoo via Digitalmars-d-learn

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.


Re: Using LDC2 on ARM

2020-03-02 Thread kinke via Digitalmars-d-learn

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.




Re: Using LDC2 on ARM

2020-03-02 Thread Andre Pany via Digitalmars-d-learn

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


Re: Using LDC2 on ARM

2020-03-02 Thread Daniel Kozak via Digitalmars-d-learn
On Mon, Mar 2, 2020 at 6:50 PM Severin Teona via Digitalmars-d-learn
 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?


Re: Using LDC2 on ARM

2020-03-02 Thread Daniel Kozak via Digitalmars-d-learn
On Mon, Mar 2, 2020 at 7:40 PM Daniel Kozak  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


Re: Using LDC2 on ARM

2020-03-02 Thread Daniel Kozak via Digitalmars-d-learn
On Mon, Mar 2, 2020 at 7:40 PM Daniel Kozak  wrote:
>
> On Mon, Mar 2, 2020 at 6:50 PM Severin Teona via Digitalmars-d-learn
>  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


Using LDC2 on ARM

2020-03-02 Thread Severin Teona via Digitalmars-d-learn

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.