GNU bug report logs - #42197
[PATCH 1/2] gnu: Add gdc.

Previous Next

Package: guix-patches;

Reported by: guy fleury iteriteka <gfleury <at> disroot.org>

Date: Sat, 4 Jul 2020 19:03:03 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: guy fleury iteriteka <gfleury <at> disroot.org>
Subject: bug#42197: closed (Re: [bug#42197] updated patch)
Date: Sun, 19 Jul 2020 17:26:03 +0000
[Message part 1 (text/plain, inline)]
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 42197 <at> debbugs.gnu.org.

-- 
42197: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42197
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Efraim Flashner <efraim <at> flashner.co.il>
To: gfleury <at> disroot.org
Cc: 42197-done <at> debbugs.gnu.org
Subject: Re: [bug#42197] updated patch
Date: Sun, 19 Jul 2020 20:25:06 +0300
[Message part 3 (text/plain, inline)]
On Sat, Jul 18, 2020 at 08:30:02PM +0000, gfleury <at> disroot.org wrote:
> hello,
> 
> 16 juillet 2020 22:18 "Efraim Flashner" <efraim <at> flashner.co.il> 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   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: guy fleury iteriteka <gfleury <at> disroot.org>
To: guix-patches <at> gnu.org
Subject: [PATCH 1/2] gnu: Add gdc.
Date: Sat,  4 Jul 2020 16:00:24 +0200
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




This bug report was last modified 4 years and 307 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.