unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#42197] [PATCH 1/2] gnu: Add gdc.
@ 2020-07-04 14:00 guy fleury iteriteka
  2020-07-04 14:00 ` [bug#42196] [PATCH 2/2] gnu: Add gdc-toolchain guy fleury iteriteka
  2020-07-16 14:43 ` [bug#42197] updated patch gfleury
  0 siblings, 2 replies; 7+ messages in thread
From: guy fleury iteriteka @ 2020-07-04 14:00 UTC (permalink / raw)
  To: 42197

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





^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-07-24 10:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-04 14:00 [bug#42197] [PATCH 1/2] gnu: Add gdc guy fleury iteriteka
2020-07-04 14:00 ` [bug#42196] [PATCH 2/2] gnu: Add gdc-toolchain guy fleury iteriteka
2020-07-24 10:38   ` bug#42196: " Ludovic Courtès
2020-07-16 14:43 ` [bug#42197] updated patch gfleury
2020-07-16 20:17   ` Efraim Flashner
2020-07-18 20:30   ` gfleury
2020-07-19 17:25     ` bug#42197: " Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).