ddmd gdc

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Mon Oct 12 18:03:39 UTC 2020

On Monday, 12 October 2020 at 17:26:22 UTC, Iain Buclaw wrote:
> I'm tracking the "master" branch of DMD, as the "merge master 
> into stable" commits are huge and tend to come with many 
> implementation regressions.

Maybe it is better to wait for an official gdc/gcc release then.

> git init
> git remote add users/ibuclaw git://gcc.gnu.org/git/gcc.git
> git config --replace-all remote.users/ibuclaw.fetch 
> "+refs/users/ibuclaw/heads/*:refs/remotes/users/ibuclaw/*"
> git fetch users/ibuclaw
> git checkout -b gdc-mainline users/ibuclaw/gdc
> The assumption is you already know how to build gcc from here.

Ok, thanks. I will give it a spin in a few days and see what 
happens. What I'd like to try out is AVR/Arduino as a target, but 
I see that avr-gcc is a separate project. Maybe not compatible 
with gdc.

Expressions should default to 16 bit integers for performance, 
but that only affects the standard library I think. So it could 
work with the better-C subset… Although for a start one could use 
32 bit (with slow performance). Actually, I would be excited just 
to see a LED blinking... :P

More information about the D.gnu mailing list