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