Subject: bug#42197: closed (Re: [bug#42197] updated patch)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 19 Jul 2020 17:26:03 +0000

Your bug report

#42197: [PATCH 1/2] gnu: Add gdc.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
42197: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42197
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#42197] updated patch
From: Efraim Flashner <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Sun, 19 Jul 2020 20:25:06 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

On Sat, Jul 18, 2020 at 08:30:02PM +0000, [email-masked] wrote:
> hello,
> 
> 16 juillet 2020 22:18 "Efraim Flashner" <[email-masked]> a écrit:
> 
> > This looks good to me. Have you tested it with anything? I don't have a
> > D project to test it out with.
> 
> yes. I compile gtkd and some d simple code i wrote. 
> but gdc alone don't work like gfortran that why it is hidden.

Sounds good to me. Patch pushed! Thanks.

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Subject: [PATCH 1/2] gnu: Add gdc.
From: guy fleury iteriteka <[email-masked]>
To: [email-masked]
Date: Sat, 4 Jul 2020 16:00:24 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Like gfortran this package is not usable like it is.
use gdc-toolchain instead.
 
* gnu/packages/gcc.scm(gdc): New variable.
---
 gnu/packages/gcc.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 9e88109..201b37e 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -692,6 +692,11 @@ as the 'native-search-paths' field."
    (custom-gcc gcc "gfortran" '("fortran")
                %generic-search-paths)))
 
+(define-public gdc
+  (hidden-package
+   (custom-gcc gcc-10 "gdc" '("d")
+               %generic-search-paths)))
+
 (define-public libgccjit
   (package
     (inherit gcc-9)
-- 
2.25.1