Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 383581

Summary: [Request] sys-devel/gcc-4.x: Re-add support for the D language
Product: Gentoo Linux Reporter: Jonathan-Christofer Demay <jcdemay>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bitbucket.org/goshawk/gdc/wiki/Home
Whiteboard:
Package list:
Runtime testing required: ---

Description Jonathan-Christofer Demay 2011-09-19 06:40:21 UTC
Using the 'd' USE flag, gcc-4.1 can support the D language using the frontend from http://sourceforge.net/projects/dgcc/. This project has been long discontinued and therefore ebuilds for newer versions of GCC no longer support this USE flag.

However, for quite some time now, the gdc frontend has risen from the dead here: https://bitbucket.org/goshawk/gdc/wiki/Home. It supports GCC from 4.1.x to 4.6.x and, good thing, the code in toolchain.eclass that setup the frontend still works (apart from the url, I tested it with gcc-4.4 and gcc-4.5).

So, I was wondering what the Gentoo GCC team would think about bringing back the 'd' USE flag for >gcc-4.1* ? If so, what about adding a (mutually exclusive) 'd2' use flag since the new D frontend supports both versions of the language ?

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2011-09-20 01:40:34 UTC
post a patch and i don't have a problem adding it
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2012-07-15 05:58:15 UTC
Patches were submitted for 4.8 but IIRC there was a lot of work that needed to be done to get it into shape.  I'm not sure what the current status is.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2017-06-22 21:14:31 UTC
Is anyone still interested in this?

[Note to self, 
https://gdcproject.org/
https://github.com/D-Programming-GDC/GDC
]
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2017-08-15 13:03:37 UTC
(In reply to Andreas K. Hüttel from comment #3)
> Is anyone still interested in this?
> 
> [Note to self, 
> https://gdcproject.org/
> https://github.com/D-Programming-GDC/GDC
> ]

Seems no.