Hiya! This is probably the first post that will appear on Planet Gentoo since I last posted on the Gentoo SoC Planet - so I’d like to say hello to all my fellow developers and the all the awesome Gentoo users out there!

Now that the greetings are out of the way, the real topic of this post is to introduce you to the new D system in Gentoo. D was introduced to portage recently with the introduction of the d USE flag for GCC and the dmd-bin ebuild. This provides you with GDC 0.23 and DMD 1.014 respectively and both of them use the standard Phobos library. You can have both the packages simultaneously on a system, no slotting is required, no executable names clash.

I also added support for using the Tango standard library instead of phobos - the ebuilds can be found in my overlay. Full instructions for building DMD with Tango can be found here. The Tango ebuild also supports replacing phobos for GDC, but hasn’t been enabled yet since I want to double-check with the toolchain ninjas that I’m doing everything correctly first!

Enjoy!