Re: D on ARM laptops?

2019-07-06 Thread myfreeweb via Digitalmars-d-learn

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.


Re: D on ARM laptops?

2019-07-04 Thread Jonathan M Davis via Digitalmars-d-learn
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





Re: D on ARM laptops?

2019-07-04 Thread zoujiaqing via Digitalmars-d-learn

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?


Re: D on ARM laptops?

2019-07-04 Thread Paolo Invernizzi via Digitalmars-d-learn

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 ...


Re: D on ARM laptops?

2019-07-03 Thread Nicholas Wilson via Digitalmars-d-learn

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.


D on ARM laptops?

2019-07-03 Thread JN via Digitalmars-d-learn
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?