D.gnu - recommended way to get Linux gdc if no package
- KC (8/8) Dec 07 I am using the Solus distribution of Linux as my desktop machine,
I am using the Solus distribution of Linux as my desktop machine, which has gcc 15.2.1 right now but no gdc. I tried to get gdc by running the dlang install script mentioned on the downloads page, https://dlang.org/install.sh but the gdc installation it gave me was 11 versions back. I am mystified why gdc is an option of that script at all. What is the recommended way to get gdc in this situation?
Dec 07
On Monday, 8 December 2025 at 05:36:30 UTC, KC wrote:I am using the Solus distribution of Linux as my desktop machine, which has gcc 15.2.1 right now but no gdc. I tried to get gdc by running the dlang install script mentioned on the downloads page, https://dlang.org/install.sh but the gdc installation it gave me was 11 versions back. I am mystified why gdc is an option of that script at all. What is the recommended way to get gdc in this situation?https://discuss.getsol.us/d/10644-no-gnu-d-compiler-package so probably you can only build it from sources by yourself
Dec 07
On Monday, 8 December 2025 at 07:06:29 UTC, Sergey wrote:I don't understand why I can't just use the official installer script and have it work for gdc: https://dlang.org/install.sh It installs the latest dmd and ldc but only a 2013 version of gdc. Are there any plans to have it install the latest gdc?What is the recommended way to get gdc in this situation?https://discuss.getsol.us/d/10644-no-gnu-d-compiler-package so probably you can only build it from sources by yourself
Dec 08
On Monday, 8 December 2025 at 12:45:26 UTC, KC wrote:https://dlang.org/install.sh It installs the latest dmd and ldc but only a 2013 version of gdc. Are there any plans to have it install the latest gdc?You can check the code - that historically it was taken releases from https://gdcproject.org/downloads But when GDC joined official GCC - these releases are not preparing anymore. And the suggested way to install GDC is from GCC packages. I don't think there are plans for revamping GDC binaries preparation, if only somebody from community will step-in for this task. Solus doesn't build GCC with flags that include D compiler. What you can do - find another Solus GCC language (for example Ada) that is not the part of main GCC package - and try to prepare similar package for D https://solus.pkgs.org/rolling/solus-polaris-x86_64/gcc-ada-15.2.0-92-1-x86_64.eopkg.html
Dec 08
On Monday, 8 December 2025 at 12:45:26 UTC, KC wrote:I don't understand why I can't just use the official installer script and have it work for gdc:In other words: this official installer doesn't support fresh version of GDC.
Dec 08
On Monday, 8 December 2025 at 05:36:30 UTC, KC wrote:I am using the Solus distribution of Linux as my desktop machine, which has gcc 15.2.1 right now but no gdc. I tried to get gdc by running the dlang install script mentioned on the downloads page, https://dlang.org/install.sh but the gdc installation it gave me was 11 versions back. I am mystified why gdc is an option of that script at all. What is the recommended way to get gdc in this situation?GDC is a bit of a pain compared to the other compilers. I don't know what you mean by "11 versions back", but if you're not talking about major versions then it's because non-DMD compilers are always a bit behind on features. You could try to perform some sort of witchcraft and get GDC as a package from a .deb or similar, or you could build it yourself.
Dec 08
GDC is a bit of a pain compared to the other compilers. I don't know what you mean by "11 versions back", but if you're not talking about major versions then it's because non-DMD compilers are always a bit behind on features.I mean it is a version 4 and we're on a version 15 now.
Dec 08
On Monday, 8 December 2025 at 16:48:56 UTC, KC wrote:Oh no that's way older, probably before GDC got accepted into GCC.GDC is a bit of a pain compared to the other compilers. I don't know what you mean by "11 versions back", but if you're not talking about major versions then it's because non-DMD compilers are always a bit behind on features.I mean it is a version 4 and we're on a version 15 now.
Dec 09









Serg Gini <kornburn yandex.ru> 