The gcc-gdc package (currently in version 11.5.0) [1] lacks
the *.d files of the standard library (libphobos, including druntime).

How to reproduce:
============ hello.d ============
import std.stdio;

void main ()
{
  writeln("Hello world!");
}
=================================
$ gdc hello.d

Expected:
Success, and creates a file a.exe.

Actual:
d21: error: cannot find source code for runtime library file 'object.d'
d21: note: dmd might not be correctly installed. Run 'dmd -man' for 
installation instructions.
d21: note: config file: not found

The expected location of the runtime library file 'object.d' is in
/usr/lib/gcc/x86_64-pc-cygwin/11/include/d/object.d
but the entire directory /usr/lib/gcc/x86_64-pc-cygwin/11/include/d
is missing.

Bruno

[1] https://cygwin.com/packages/summary/gcc-gdc.html




-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to