digitalmars.D - Does RedHat DTS have D frontend?
- Andrey Zherikov (6/6) Oct 11 2022 Long story short: I'm trying to add GDC and LDC into a set of
- rikki cattermole (3/3) Oct 11 2022 You should confirm this, but the version of gcc I could find on Redhat's...
- Andrey Zherikov (6/9) Oct 12 2022 I checked [DTS
- rikki cattermole (6/15) Oct 12 2022 Yes.
- Mike Parker (3/7) Oct 12 2022 I'm pretty sure it was still on the C++ frontend then.
- Patrick Schluter (2/12) Oct 12 2022 The first version with D frontend is in the last version 12.2.
- Adam D Ruppe (13/14) Oct 12 2022 I would look for a gdc package. A lot of distros package it
Long story short: I'm trying to add GDC and LDC into a set of available compilers in our company and a person who is able to do this said that since GDC sources require pre-existing D compiler, the only thing that would properly fit is having RedHat DTS with D front-end. So does RedHat DTS have D frontend? If yes then what version?
Oct 11 2022
You should confirm this, but the version of gcc I could find on Redhat's site lists it as gcc 4.8 which is more than 10 years old. So it won't have it.
Oct 11 2022
On Wednesday, 12 October 2022 at 03:26:17 UTC, rikki cattermole wrote:You should confirm this, but the version of gcc I could find on Redhat's site lists it as gcc 4.8 which is more than 10 years old. So it won't have it.I checked [DTS 10.1](https://access.redhat.com/documentation/en-us/red_hat_developer_toolset/10/html/user_guide/chap-red_hat_developer_toolset#sect-Red_Hat_Devel per_Toolset-About): it has GCC 10.2.1 - does it have D front-end? May be correct question to ask is: what the earliest version of GCC does contain D front-end?
Oct 12 2022
On 12/10/2022 11:41 PM, Andrey Zherikov wrote:On Wednesday, 12 October 2022 at 03:26:17 UTC, rikki cattermole wrote:Yes. https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gcc/Standards.html#D-language So you should be good to go, as long as you don't mind lagging behind latest version.You should confirm this, but the version of gcc I could find on Redhat's site lists it as gcc 4.8 which is more than 10 years old. So it won't have it.I checked [DTS 10.1](https://access.redhat.com/documentation/en-us/red_hat_developer_toolset/10/html/user_guide/chap-red_hat_developer_toolset#sect-Red_Hat_Devel per_Toolset-About): it has GCC 10.2.1 - does it have D front-end?May be correct question to ask is: what the earliest version of GCC does contain D front-end?I checked the docs via the above, its 9.
Oct 12 2022
On Wednesday, 12 October 2022 at 10:45:35 UTC, rikki cattermole wrote:On 12/10/2022 11:41 PM, Andrey Zherikov wrote:I'm pretty sure it was still on the C++ frontend then.May be correct question to ask is: what the earliest version of GCC does contain D front-end?I checked the docs via the above, its 9.
Oct 12 2022
On Wednesday, 12 October 2022 at 11:36:38 UTC, Mike Parker wrote:On Wednesday, 12 October 2022 at 10:45:35 UTC, rikki cattermole wrote:The first version with D frontend is in the last version 12.2.On 12/10/2022 11:41 PM, Andrey Zherikov wrote:I'm pretty sure it was still on the C++ frontend then.May be correct question to ask is: what the earliest version of GCC does contain D front-end?I checked the docs via the above, its 9.
Oct 12 2022
On Wednesday, 12 October 2022 at 00:42:56 UTC, Andrey Zherikov wrote:So does RedHat DTS have D frontend? If yes then what version?I would look for a gdc package. A lot of distros package it separately even if their gcc is built to enable the language. The gcc version doesn't necessarily tell you anything - my old raspbian setup has gdc6 in its package repo and my newer Slackware install has gdc 9.... gdc9 is when D was upstreamed into gcc's main source, but both the gdc6 and gdc9 are installed as separate OS packages, so that little fact doesn't mean much to the user. It looks like red hat's search needs an account*, but I'd suggest you just search for gdc in there and see if it comes up. https://unix.stackexchange.com/questions/6864/how-to-search-for-official-rhel-packages
Oct 12 2022