Thread overview
D on ARM laptops?
Jul 03, 2019
JN
Jul 04, 2019
Nicholas Wilson
Jul 04, 2019
Paolo Invernizzi
Jul 04, 2019
zoujiaqing
Jul 05, 2019
Jonathan M Davis
Jul 07, 2019
myfreeweb
July 03, 2019
Does anyone know if and how well D works on ARM laptops (such as Chromebooks and similar)?

For example this one https://www.pine64.org/pinebook/ . Can it compile D? Obviously DMD is out because it doesn't have ARM builds. Not sure about GDC. How about LDC?
July 04, 2019
On Wednesday, 3 July 2019 at 20:49:20 UTC, JN wrote:
> Does anyone know if and how well D works on ARM laptops (such as Chromebooks and similar)?
>
> For example this one https://www.pine64.org/pinebook/ . Can it compile D? Obviously DMD is out because it doesn't have ARM builds. Not sure about GDC. How about LDC?

Haven't tried on laptops, but I can't imagine it would be too different to RasPi which LDC worked fine on.
July 04, 2019
On Thursday, 4 July 2019 at 01:01:03 UTC, Nicholas Wilson wrote:
> On Wednesday, 3 July 2019 at 20:49:20 UTC, JN wrote:
>> Does anyone know if and how well D works on ARM laptops (such as Chromebooks and similar)?
>>
>> For example this one https://www.pine64.org/pinebook/ . Can it compile D? Obviously DMD is out because it doesn't have ARM builds. Not sure about GDC. How about LDC?
>
> Haven't tried on laptops, but I can't imagine it would be too different to RasPi which LDC worked fine on.

We are using LDC on Jetson boards and it's working fine ...
July 04, 2019
On Thursday, 4 July 2019 at 07:46:53 UTC, Paolo Invernizzi wrote:
> On Thursday, 4 July 2019 at 01:01:03 UTC, Nicholas Wilson wrote:
>> On Wednesday, 3 July 2019 at 20:49:20 UTC, JN wrote:
>>> Does anyone know if and how well D works on ARM laptops (such as Chromebooks and similar)?
>>>
>>> For example this one https://www.pine64.org/pinebook/ . Can it compile D? Obviously DMD is out because it doesn't have ARM builds. Not sure about GDC. How about LDC?
>>
>> Haven't tried on laptops, but I can't imagine it would be too different to RasPi which LDC worked fine on.
>
> We are using LDC on Jetson boards and it's working fine ...

LDC on FreeBSD working fine?
July 04, 2019
On Thursday, July 4, 2019 2:49:18 AM MDT zoujiaqing via Digitalmars-d-learn wrote:
> On Thursday, 4 July 2019 at 07:46:53 UTC, Paolo Invernizzi wrote:
> > On Thursday, 4 July 2019 at 01:01:03 UTC, Nicholas Wilson wrote:
> >> On Wednesday, 3 July 2019 at 20:49:20 UTC, JN wrote:
> >>> Does anyone know if and how well D works on ARM laptops (such
> >>> as Chromebooks and similar)?
> >>>
> >>> For example this one https://www.pine64.org/pinebook/ . Can it compile D? Obviously DMD is out because it doesn't have ARM builds. Not sure about GDC. How about LDC?
> >>
> >> Haven't tried on laptops, but I can't imagine it would be too different to RasPi which LDC worked fine on.
> >
> > We are using LDC on Jetson boards and it's working fine ...
>
> LDC on FreeBSD working fine?

It should work on FreeBSD 11. It almost certainly doesn't work on 12 because of bindings issues that still need to be resolved. Certainly, dmd does not work on FreeBSD 12, and ldc can't unless someone changed druntime specifically for ldc.

- Jonathan M Davis



July 07, 2019
On Friday, 5 July 2019 at 04:04:13 UTC, Jonathan M Davis wrote:
> On Thursday, July 4, 2019 2:49:18 AM MDT zoujiaqing via Digitalmars-d-learn wrote:
>> LDC on FreeBSD working fine?
>
> It should work on FreeBSD 11. It almost certainly doesn't work on 12 because of bindings issues that still need to be resolved. Certainly, dmd does not work on FreeBSD 12, and ldc can't unless someone changed druntime specifically for ldc.

Naturally, the patch for >=12 (64-bit inodes) has existed for a long time in FreeBSD Ports, so you  can just `pkg install ldc` on 12 or 13-CURRENT.

I've also done the work of porting to FreeBSD/aarch64 (64-bit ARMv8). You can't yet just pkg install it on aarch64 as the update has not yet landed in Ports, but the patch for Ports is in the FreeBSD bugzilla (and my github), so you can apply it and compile the package yourself.