www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - D on ARM laptops?

reply JN <666total wp.pl> writes:
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?
Jul 03 2019
parent reply Nicholas Wilson <iamthewilsonator hotmail.com> writes:
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.
Jul 03 2019
parent reply Paolo Invernizzi <paolo.invernizzi gmail.com> writes:
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 ...
Jul 04 2019
parent reply zoujiaqing <zoujiaqing gmail.com> writes:
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?
Jul 04 2019
parent reply Jonathan M Davis <newsgroup.d jmdavisprog.com> writes:
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
Jul 04 2019
parent myfreeweb <d unrelenting.technology> writes:
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.
Jul 06 2019