LDC2 doesn't work on archlinux.

Robin robbepop at web.de
Wed Feb 19 08:59:34 PST 2014


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


More information about the digitalmars-d-ldc mailing list