December 02, 2021

On Tuesday, 30 November 2021 at 19:37:34 UTC, Iain Buclaw wrote:

>

The latest version of the D language has now landed in GCC.

Impressive work, thanks!

December 02, 2021

On Tuesday, 30 November 2021 at 19:37:34 UTC, Iain Buclaw wrote:

>

Hi,

The latest version of the D language has now landed in GCC.

Wonderful!

December 02, 2021

On Tuesday, 30 November 2021 at 19:37:34 UTC, Iain Buclaw wrote:

>

The latest version of the D language has now landed in GCC.

To try this out do I build gcc with only the D language frontend enabled?

December 02, 2021

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 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.

December 02, 2021

On Tuesday, 30 November 2021 at 19:37:34 UTC, Iain Buclaw wrote:

>

Hi,

The latest version of the D language has now landed in GCC.

[...]

WHOOOOOOOOOO GO Iain :D

Thank you very very much for all the work that you put in :D

December 03, 2021
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=5fee5ec362f7a243f459e6378fd49dfc89dc9fb5) in GCC.

Excellent!
December 03, 2021

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.

December 03, 2021

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.

December 03, 2021

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

December 03, 2021

On Tuesday, 30 November 2021 at 19:37:34 UTC, Iain Buclaw wrote:

>

Hi,

The latest version of the D language has now landed 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.