D compiler package is incomplete
Mark Geisert
mark@maxrnd.com
Thu Jun 12 22:30:35 GMT 2025
On 6/12/2025 1:28 PM, Bruno Haible via Cygwin wrote:
> On Cygwin 3.6.3, I have the packages
> gcc-core
> gcc-g++
> gcc-gdc
> installed, all in version 11.5.0-1.
>> But the D compiler is dysfunctional: The attempt to compile any D source code
> fails. E.g.:
>> $ echo > empty.d
> $ gdc -c empty.c
> 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
> $ echo $?
> 1
>> When I build GCC myself from source for other platforms, the D runtime
> library is called 'libgphobos'. Without this library, both 'gdc' and 'd21'
> are useless.
From the release note for current gcc-g++ 12.4.0-3 at
https://cygwin.com/pipermail/cygwin-announce/2024-July/011866.html:
The D compiler had to be removed again since the runtime library still
doesn't build on Cygwin, however it's become mandatory for bootstrapping
the compiler. If you want to work on this you need to keep the gcc-11.5
version installed.
I read that as: D is not functional with gcc 11.5, but you need 11.5 to
work on making libgphobos buildable on Cygwin. An exercise for the
reader, in other words.
HTH,
..mark
More information about the Cygwin
mailing list