www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - GDC has just landed v2.098.0-beta.1 into GCC

reply Iain Buclaw <ibuclaw gdcproject.org> writes:
Hi,

The latest version of the D language has [now 
landed](https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5fee5ec362f7a243f459e
378fd49dfc89dc9fb5) in GCC.

As the D front-end for GDC is now itself written in D, in order 
to build GDC, you will need a working GDC compiler (GCC version 
9.1 or later).

Of the tested ports that work for bootstrapping the new 
front-end, x86_64-linux-gnu is the most battle tested.  Others 
that have been checked and verified to work include:
- mips-linux-gnu
- powerpc64le-linux-gnu
- sparcv9-sun-solaris
- x86_64-portbld-freebsd12
- amd64-openbsd6.9
- x86_64-netbsd
- x86_64-apple-darwin20.

**Why specifically v2.098.0-beta.1?**  No real reason, other than 
it was just the last time that I had synchronized my [development 
branch](https://github.com/D-Programming-GDC/gcc/tree/ibuclaw/gdc) with
upstream dmd.

You can expect this to be bumped again to the latest commit made 
to [dmd master](https://github.com/dlang/dmd/commits/master) in 
the coming week, and for GDC to closely follow DMD development 
until around end of March when we'll switch over to whatever will 
be the upcoming DMD version just before the GCC-12 release freeze.

---
```
$ git show --oneline --stat
  5fee5ec362f d: Import dmd b8384668f, druntime e6caaab9, phobos 
5ab9ad256 (v2.098.0-beta.1)
  ...
  2803 files changed, 338878 insertions(+), 193928 deletions(-)
```
---

**What's left in the pipeline?**  For the next six months until 
May, its just the usual, too many things to do, too little time 
to do them.  I haven't forgotten about other improvements that I 
started looking into at the beginning of this development cycle:
- Hosting release binaries on the gdc project site (or github, or 
both)
- Updating the compilers on the explorer site to version 11
- Add more targets to the gdc build infrastructure.

If you think you could contribute in any way, please don't 
hesitate to jump on the 
[#gdc](https://dlang.slack.com/archives/C6LTP6MV1) channel on the 
Dlang Slack or [#d.gdc](irc://irc.libera.chat/d.gdc) on 
Libera.Chat IRC and ask about it.

See you around at the next release or update.

Regards,
Iain.


development or infrastructure costs for CI and platform testing, 
you can do so by making a donation to the [D Language 
Foundation](https://dlang.org/foundation/donate.html), 
approximations of costs into USD are up on my [Github Sponsor 
page](https://github.com/sponsors/ibuclaw/).
Nov 30 2021
next sibling parent M.M. <matus email.cz> writes:
On Tuesday, 30 November 2021 at 19:37:34 UTC, Iain Buclaw wrote:
 Hi,

 The latest version of the D language has [now 
 landed](https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5fee5ec362f7a243f459e
378fd49dfc89dc9fb5) in GCC.

 [...]
wow! congratulations and thank you at the same time!
Nov 30 2021
prev sibling next sibling parent Robert Schadek <rburners gmail.com> writes:
Awesome congratulations
Nov 30 2021
prev sibling next sibling parent Brian Callahan <bcallah openbsd.org> writes:
On Tuesday, 30 November 2021 at 19:37:34 UTC, Iain Buclaw wrote:
 Hi,

 The latest version of the D language has [now 
 landed](https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5fee5ec362f7a243f459e
378fd49dfc89dc9fb5) in GCC.
Thanks Iain and congrats. ~Brian
Nov 30 2021
prev sibling next sibling parent "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
On Tue, Nov 30, 2021 at 07:37:34PM +0000, Iain Buclaw via
Digitalmars-d-announce wrote:
 Hi,
 
 The latest version of the D language has [now
 landed](https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5fee5ec362f7a243f459e6378fd49dfc89dc9fb5)
 in GCC.
[...]
 **Why specifically v2.098.0-beta.1?**  No real reason, other than it
 was just the last time that I had synchronized my [development
 branch](https://github.com/D-Programming-GDC/gcc/tree/ibuclaw/gdc)
 with upstream dmd.
[...] Awesome!! Big thanks for the hard work, Iain! Finally, GDC is up-to-date with the other two D compilers. This is super great news. T -- What do you mean the Internet isn't filled with subliminal messages? What about all those buttons marked "submit"??
Nov 30 2021
prev sibling next sibling parent Petar Kirov [ZombineDev] <petar.p.kirov gmail.com> writes:
On Tuesday, 30 November 2021 at 19:37:34 UTC, Iain Buclaw wrote:
 Hi,

 The latest version of the D language has [now 
 landed](https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5fee5ec362f7a243f459e
378fd49dfc89dc9fb5) in GCC.

 [..]
Amazing achievement! Congrats Iain!
Nov 30 2021
prev sibling next sibling parent Dukc <ajieskola gmail.com> writes:
On Tuesday, 30 November 2021 at 19:37:34 UTC, Iain Buclaw wrote:
 Hi,

 The latest version of the D language has [now 
 landed](https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5fee5ec362f7a243f459e
378fd49dfc89dc9fb5) in GCC.

 As the D front-end for GDC is now itself written in D, in order 
 to build GDC, you will need a working GDC compiler (GCC version 
 9.1 or later).
Wow, congratulations! I quess it finally makes it easier for you too, since you don't have to backport dmd features to C++ anymore.
Dec 01 2021
prev sibling next sibling parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Tuesday, 30 November 2021 at 19:37:34 UTC, Iain Buclaw wrote:
 Hi,

 The latest version of the D language has [now 
 landed](https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5fee5ec362f7a243f459e
378fd49dfc89dc9fb5) in GCC.

 [...]
❤️
Dec 01 2021
prev sibling next sibling parent Guillaume Piolat <first.last gmail.com> writes:
On Tuesday, 30 November 2021 at 19:37:34 UTC, Iain Buclaw wrote:
 Hi,

 The latest version of the D language has [now 
 landed](https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5fee5ec362f7a243f459e
378fd49dfc89dc9fb5) in GCC.
Great news! Thank you.
Dec 01 2021
prev sibling next sibling parent Martin Tschierschke <mt smartdolphin.de> writes:
On Tuesday, 30 November 2021 at 19:37:34 UTC, Iain Buclaw wrote:
 Hi,

 The latest version of the D language has [now 
 landed](https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5fee5ec362f7a243f459e
378fd49dfc89dc9fb5) in GCC.
[...] 👍👍👍
Dec 01 2021
prev sibling next sibling parent Boris Carvajal <boris2.9 gmail.com> writes:
On Tuesday, 30 November 2021 at 19:37:34 UTC, Iain Buclaw wrote:
 The latest version of the D language has [now 
 landed](https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5fee5ec362f7a243f459e
378fd49dfc89dc9fb5) in GCC.
Impressive work, thanks!
Dec 02 2021
prev sibling next sibling parent Per =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
On Tuesday, 30 November 2021 at 19:37:34 UTC, Iain Buclaw wrote:
 Hi,

 The latest version of the D language has [now 
 landed](https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5fee5ec362f7a243f459e
378fd49dfc89dc9fb5) in GCC.
Wonderful!
Dec 02 2021
prev sibling next sibling parent reply Per =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
On Tuesday, 30 November 2021 at 19:37:34 UTC, Iain Buclaw wrote:
 The latest version of the D language has [now 
 landed](https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5fee5ec362f7a243f459e
378fd49dfc89dc9fb5) in GCC.
To try this out do I build gcc with only the D language frontend enabled?
Dec 02 2021
parent Iain Buclaw <ibuclaw gdcproject.org> writes:
On Thursday, 2 December 2021 at 11:44:33 UTC, Per Nordlöw wrote:
 On Tuesday, 30 November 2021 at 19:37:34 UTC, Iain Buclaw wrote:
 The latest version of the D language has [now 
 landed](https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5fee5ec362f7a243f459e
378fd49dfc89dc9fb5) in GCC.
To try this out do I build gcc with only the D language frontend enabled?
Yes, if you want it to build fast, you can use `--disable-bootstrap`.
Dec 02 2021
prev sibling next sibling parent Tejas <notrealemail gmail.com> writes:
On Tuesday, 30 November 2021 at 19:37:34 UTC, Iain Buclaw wrote:
 Hi,

 The latest version of the D language has [now 
 landed](https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5fee5ec362f7a243f459e
378fd49dfc89dc9fb5) in GCC.

 [...]
WHOOOOOOOOOO GO Iain :D Thank you __very very much__ for all the work that you put in :D
Dec 02 2021
prev sibling next sibling parent Walter Bright <newshound2 digitalmars.com> writes:
On 11/30/2021 11:37 AM, Iain Buclaw wrote:
 The latest version of the D language has [now 
 landed](https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5fee5ec362f7a243f459e
378fd49dfc89dc9fb5) 
 in GCC.
Excellent!
Dec 03 2021
prev sibling next sibling parent reply Patrick Schluter <Patrick.Schluter bbox.fr> writes:
On Tuesday, 30 November 2021 at 19:37:34 UTC, Iain Buclaw wrote:

Hi, just a little question that annoys me in my project which is 
mainly written in C and clashes with the D code I'm integrating 
slowly into it.
I generate the makefile dependencies with the -MMD option of gcc 
and that option generates .d files (which are not D language 
files), this is annoying as I had to rename my D files with a .D 
extension.
Is there a way to force gcc to use another extension? Is this 
extension clash been solved somehow, as the man of gcc 10.2 lists 
.d as the extension for Dlang files.
Dec 03 2021
parent reply Iain Buclaw <ibuclaw gdcproject.org> writes:
On Friday, 3 December 2021 at 13:48:48 UTC, Patrick Schluter 
wrote:
 On Tuesday, 30 November 2021 at 19:37:34 UTC, Iain Buclaw wrote:

 Hi, just a little question that annoys me in my project which 
 is mainly written in C and clashes with the D code I'm 
 integrating slowly into it.
 I generate the makefile dependencies with the -MMD option of 
 gcc and that option generates .d files (which are not D 
 language files), this is annoying as I had to rename my D files 
 with a .D extension.
 Is there a way to force gcc to use another extension? Is this 
 extension clash been solved somehow, as the man of gcc 10.2 
 lists .d as the extension for Dlang files.
Yes, with -MF to specify the output dependency file.
Dec 03 2021
parent Patrick Schluter <Patrick.Schluter bbox.fr> writes:
On Friday, 3 December 2021 at 18:22:36 UTC, Iain Buclaw wrote:
 On Friday, 3 December 2021 at 13:48:48 UTC, Patrick Schluter 
 wrote:
 On Tuesday, 30 November 2021 at 19:37:34 UTC, Iain Buclaw 
 wrote:

 Hi, just a little question that annoys me in my project which 
 is mainly written in C and clashes with the D code I'm 
 integrating slowly into it.
 I generate the makefile dependencies with the -MMD option of 
 gcc and that option generates .d files (which are not D 
 language files), this is annoying as I had to rename my D 
 files with a .D extension.
 Is there a way to force gcc to use another extension? Is this 
 extension clash been solved somehow, as the man of gcc 10.2 
 lists .d as the extension for Dlang files.
Yes, with -MF to specify the output dependency file.
Thanks
Dec 03 2021
prev sibling next sibling parent Iain Buclaw <ibuclaw gdcproject.org> writes:
On Tuesday, 30 November 2021 at 19:37:34 UTC, Iain Buclaw wrote:
 Hi,

 The latest version of the D language has [now 
 landed](https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5fee5ec362f7a243f459e
378fd49dfc89dc9fb5) in GCC.
I've spoken with the folks at compiler explorer and they've fixed up their build scripts to that this is now live to play around with https://d.godbolt.org/ Regards, Iain.
Dec 03 2021
prev sibling parent =?ISO-8859-1?Q?Lu=EDs?= Ferreira <contact lsferreira.net> writes:
On Tue, 2021-11-30 at 19:37 +0000, Iain Buclaw via Digitalmars-d-
announce wrote:
 Hi,
=20
 The latest version of the D language has [now=20
 landed](
 https://gcc.gnu.org/git/?p=3Dgcc.git;a=3Dcommit;h=3D5fee5ec362f7a243f459e=
6378fd49dfc89dc9fb5
 ) in GCC.
=20
 As the D front-end for GDC is now itself written in D, in order=20
 to build GDC, you will need a working GDC compiler (GCC version=20
 9.1 or later).
=20
 Of the tested ports that work for bootstrapping the new=20
 front-end, x86_64-linux-gnu is the most battle tested.=C2=A0 Others=20
 that have been checked and verified to work include:
 - mips-linux-gnu
 - powerpc64le-linux-gnu
 - sparcv9-sun-solaris
 - x86_64-portbld-freebsd12
 - amd64-openbsd6.9
 - x86_64-netbsd
 - x86_64-apple-darwin20.
=20
 **Why specifically v2.098.0-beta.1?**=C2=A0 No real reason, other than=
=20
 it was just the last time that I had synchronized my [development=20
 branch](https://github.com/D-Programming-GDC/gcc/tree/ibuclaw/gdc)
 with upstream dmd.
=20
 You can expect this to be bumped again to the latest commit made=20
 to [dmd master](https://github.com/dlang/dmd/commits/master) in=20
 the coming week, and for GDC to closely follow DMD development=20
 until around end of March when we'll switch over to whatever will=20
 be the upcoming DMD version just before the GCC-12 release freeze.
=20
 ---
 ```
 $ git show --oneline --stat
 =C2=A0 5fee5ec362f d: Import dmd b8384668f, druntime e6caaab9, phobos=20
 5ab9ad256 (v2.098.0-beta.1)
 =C2=A0 ...
 =C2=A0 2803 files changed, 338878 insertions(+), 193928 deletions(-)
 ```
 ---
=20
 **What's left in the pipeline?**=C2=A0 For the next six months until=20
 May, its just the usual, too many things to do, too little time=20
 to do them.=C2=A0 I haven't forgotten about other improvements that I=20
 started looking into at the beginning of this development cycle:
 - Hosting release binaries on the gdc project site (or github, or=20
 both)
 - Updating the compilers on the explorer site to version 11
 - Add more targets to the gdc build infrastructure.
=20
 If you think you could contribute in any way, please don't=20
 hesitate to jump on the=20
 [#gdc](https://dlang.slack.com/archives/C6LTP6MV1) channel on the=20
 Dlang Slack or [#d.gdc](irc://irc.libera.chat/d.gdc) on=20
 Libera.Chat IRC and ask about it.
=20
 See you around at the next release or update.
=20
 Regards,
 Iain.
=20

 development or infrastructure costs for CI and platform testing,=20
 you can do so by making a donation to the [D Language=20
 Foundation](https://dlang.org/foundation/donate.html),=20
 approximations of costs into USD are up on my [Github Sponsor=20
 page](https://github.com/sponsors/ibuclaw/).
Great news! That is awesome --=20 Sincerely, Lu=C3=ADs Ferreira lsferreira.net
Dec 04 2021