--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#42197] updated patch |
Date: |
Sun, 19 Jul 2020 20:25:06 +0300 |
On Sat, Jul 18, 2020 at 08:30:02PM +0000, gfleury@disroot.org wrote:
> hello,
>
> 16 juillet 2020 22:18 "Efraim Flashner" <efraim@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@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
Description: PGP signature
--- End Message ---