LDC2 doesn't work on archlinux.
John Colvin
john.loughran.colvin at gmail.com
Thu Feb 20 04:26:20 PST 2014
On Wednesday, 19 February 2014 at 16:59:36 UTC, Robin wrote:
> Hiho,
>
> a friend and me were trying to get the LDC2 compiler working on
> archlinux to compare benchmarks of the DMD and the LDC. The DMD
> compiler works, while the LDC2 compiler raises a certain error
> during compilation and stops:
>
> Error: cannot find source code for runtime library file
> 'object.d'
> ldc2 might not be correctly installed.
> Please check your ldc2.conf configuration file.
> Installation instructions can be found at
> http://wiki.dlang.org/LDC.
> import path[0] = /usr/include/dlang/ldc/ldc
> import path[1] = /usr/include/dlang/ldc
>
> Of course, we have reinstalled everything again,
> libphobos(-devel), ldc2, etc. and were looking into the conf
> file and also looked into the wiki about LDC, however, we were
> not able to get this working.
>
> The errors pops up after the syntax checking phase and general
> parsing phase is over.
>
> Is this a known bug, is the package broken or are we missing
> something?
>
> Thanks in advance!
>
> Robin
You need different standard libraries for each compiler: e.g.
liblphobos (ldc), libgphobos (gdc), libphobos (dmd)
As Dicebot says (and he should know, seeing as he maintains those
packages), dlang-ldc will get you everything you need for ldc
More information about the digitalmars-d-ldc
mailing list